Configure HTTS protocol in CentOS Server

Resolved
Ingenieria Especializada asked on July 13, 2021

When configuring the flexmonster-config.json file on the server:
 

"HTTPS": {
        "Enabled": true,
        "Certificate": { 
                   "Path": "/etc/ssl/private/xxxxxxx.crt",
                   "Password": "/etc/ssl/private/xxxxxxx.key"
        }
}

 

The following error appears: "the server mode ssl must use a certificate with the associated private key"
I don´t know what can go wrong because the certificate and the key are valid on the server(CentOS 7-Apache 2.4.6).
 
Thank you in advance for your help.

Attachments:
error.png

3 answers

Public
Illia Yatsyshyn Illia Yatsyshyn Flexmonster July 14, 2021

Hello,
 
Thank you for posting on our forum.
 
Currently, there is a known issue that prevents using the Path-Password approach. It is going to be fixed ETA July 27.
Meanwhile, we want to draw your attention to the fact that the Password property should contain the password itself in a string format according to our documentation. Also, Flexmonster Data Server only supports .pfx certificates.
 
In case waiting for the fix is not an option for you, we suggest checking out the Subject-Store approach described on the page mentioned above. Otherwise, we will notify you as soon as the fixed version is released.
 
Feel free to reach out if any other questions arise.
 
Kind regards,
Illia

Public
Illia Yatsyshyn Illia Yatsyshyn Flexmonster July 27, 2021

Hello,
 
We are glad to announce that the issue with loading an HTTPS certificate with a password was fixed.
This is available in the 2.9.4 version of Flexmonster: https://www.flexmonster.com/release-notes/.
 
You are welcome to update the component.
Here is our updating to the latest version tutorial for guidance: https://www.flexmonster.com/doc/updating-to-the-latest-version/.
 
Please contact us in case any questions arise.
 
Best regards,
Illia

Public
Ingenieria Especializada July 27, 2021

Hello,
Thank you very much for your indications, they were of great help in order to configure the https protocol on our server with flexmonster dataserver in linux (centOS).
Best regards.

Please login or Register to Submit Answer