/ssl-client

adds ssl client configuration to your InterSystems IRIS server

Primary LanguageObjectScriptMIT LicenseMIT

ssl-client

This is a simple class which installs SSL client configuration with a given name programmatically

Installation

ZPM

USER>zpm
zpm:USER>install sslclient

This will create a client SSL configuration with the name "default". This is useful in HTTP requests.

Collaboration

Collaboration is very welcome. To collaborate fork the repository, make changes and create a Pull Request.

Below see the setup for development and collaboration.

Prerequisites

Make sure you have git and Docker desktop installed.

Installation

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
  1. 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()

How to start coding

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.