RaptorXML+XBRL Server supports startup not only as an HTTP server, but also as an HTTPS server. Both types of connection may be active concurrently.
HTTPS support is disabled by default. To enable HTTPS, in the server configuration file, server_config.xml, change the https.enable setting to true. Modify the various HTTPS settings of the configuration file according to your server requirements.
You can obtain a private key and certificate files in one of the following ways:
•From a certificate authority: Follow the steps described in the section Setting Up SSL Encryption.
•Create a self-signed certificate by using the following OpenSSL command (suitably modified for your environment):
openssl req -x509 -newkey rsa:4096 -nodes -keyout key.pem -out cert.pem -days 365 -subj "/C=AT/ST=vienna/L=vienna/O=Altova Gmbh/OU=dev/CN=www.altova.com"
A good way to test your connection is via the curl command line tool for transferring data with URLs. You can use the following command:
If the certificate is not trusted, use the -k option, like this:
curl.exe -k https://localhost:443/v1/version
The following command executes the HTTP Python example that is distributed with RaptorXML+XBRL Server:
python3.exe examples\ServerAPI\python\RunRaptorXML.py --host localhost -p 443 -s