This is a simple class which installs SSL client configuration with a given name programmatically
USER>zpm
zpm:USER>install sslclient
This will create a client SSL configuration with the name "default". This is useful in HTTP requests.
Collaboration is very welcome. To collaborate fork the repository, make changes and create a Pull Request.
Below see the setup for development and collaboration.
Make sure you have git and Docker desktop installed.
Clone/git pull the repo into any local directory
$ git clone https://github.com/intersystems-community/objectscript-docker-template.git
Open the terminal in this directory and run:
$ docker-compose build
- Run the IRIS container with your project:
$ docker-compose up -d
Open IRIS terminal:
$ docker-compose exec iris iris session iris
USER>write ##class(community.utils.SSLClient).CreateSSLConfiguration()
This repository is ready to code in VSCode with ObjectScript plugin. Install VSCode, Docker and ObjectScript plugin and open the folder in VSCode. Open /src/community/utils/sslclient.cls class and try to make changes - it will be compiled in running IRIS docker container.
Feel free to delete PackageSample folder and place your ObjectScript classes in a form /src/Package/Classname.cls Read more about folder setup for InterSystems ObjectScript
The script in Installer.cls will import everything you place under /src into IRIS.