Altova RaptorXML+XBRL Server 2024

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.

 

Enabling HTTPS

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.

 

Private key and certificate

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"

 

Testing the connection

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:

 

curl.exe https://localhost:443/v1/version

 

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

 

© 2017-2023 Altova GmbH