Backendless v3.x Standalone - Add SSL support

I’m wanting to add SSL support to the Backendless standalone server and I’m getting the following error found in the error_log:

[ssl:warn] [pid 9172] AH01909: 192.168.1.9:443:0 server certificate does NOT include an ID which matches the server name

I generated a self signed cert with the following commands:

openssl genrsa -out server.key 2048
openssl req -new -key server.key -out cert.csr
openssl x509 -in cert.csr -out server.crt -req -signkey server.key -days 1024
openssl x509 -noout -text -in server.crt

I changed the ServerName in the httpd-ssl.conf file to: ServerName 192.168.1.9:443
I changed the ServerName in the httpd.conf file to: ServerName 192.168.1.9:443

Also I changed in the httpd-ssl.conf to SSLCertificateFile “/opt/backendless-3.0.0-8/apache2/conf/BL.crt”

and SSLCertificateKeyFile “/opt/backendless-3.0.0-8/apache2/conf/BL.key”

Hi Roy,

I checked with out sysadmin team and got the following response:

When executing the second command:

openssl req -new -key server.key -out cert.csr

You are prompted to enter some information about the certificate. Among that data is “Common Name” which is either your name or your server’s hostname). You should enter for that the hostname of the machine (site domain).

Also, you cannot use the following format in the apache config:

ServerName [url=http://192.168.1.9:443/]192.168.1.9:443[/url]

Instead, you should do this:

Listen 443
<VirtualHost *:443>


ServerName [url=http://realdomain.com/]realdomain.com[/url]


</VirtualHost>

Regards,
Mark