Configure SSL for the API Portal

To enable SSL on the API Portal, you must also modify the Apache configuration file, httpd.conf, adding a ProxyPassReverse directive pointing to your domain name.
apidp31
To enable SSL on the API Portal, you must also modify the Apache configuration file,
httpd.conf
, adding a ProxyPassReverse directive pointing to your domain name.
If your API Portal is configured to use SSL (i.e., the SSL connection to the Portal is being terminated at the Portal), update the Apache configuration file.
To configure SSL for the API Portal:
  1. Deploy the API Portal certificate and private key files in PEM format into the following directory:
    /etc/httpd/conf
    For example, given the PKCS12 file used to configure the API Portal, execute the following commands to obtain the key and certificate files in PEM format.
    # openssl pkcs12 -in
    <keystore.p12>
    -nokeys -nodes -out sslcert.pem
    # openssl pkcs12 -in
    <keystore.p12>
    -nocerts -nodes -out sslkey.pem
  2. Stop the Apache HTTPD server with this command:
    # service httpd stop
  3. Open the following file in a text editor:
    /etc/httpd/conf.d/ssl.conf
  4. Set the
    SSLCertificateFile
    property to point to the deployed SSL certificate file. See below figure.
  5. Set the
    SSLCertificateKeyFile
    property to point to the deployed SSL key file.
    modify_ssl_conf.png
    SSLCertificateFile and SSLCertificateKeyFile properties
  6. Open the following file in a text editor:/etc/httpd/conf/httpd.conf
  7. Add the following line for each domain name supported:ProxyPassReverse / http://
    <your-domain-name>
    /
  8. Restart the Apache HTTP server with this command:
    # service httpd start