Hi - Is there a difference between the Lucee (default server) SSL configuration and the adobe@11 cfengine?
I am unable to use a self-signed certificate with Coldfusion 11 in CommandBox, but following the exact same steps, it works with Lucee. I could not find much information about this in the documentation, so I’m hoping someone here can help steer me in the right direction.
These are the exact testing steps I performed in Terminal:
CommandBox 3.9.1+00823 on Mac OSX (10.12.6) - example host (webappsdev.mydomain.com) added to /etc/hosts file
Lucee
`
mkdir -p /temp/cert
cd /temp
echo “test” > index.cfm
openssl req -newkey rsa:2048 -nodes -keyout /temp/cert/key.pem -x509 -days 365 -out /temp/cert/certificate.pem
box server start SSLEnable=true SSLCertFile=/temp/cert/certificate.pem SSLKeyFile=/temp/cert/key.pem host=webappsdev.mydomain.com
SSL does not work the very first “server start”
box server stop
box server start SSLEnable=true SSLCertFile=/temp/cert/certificate.pem SSLKeyFile=/temp/cert/key.pem host=webappsdev.mydomain.com
Success
After certificate exception in web browser the “test” text is displayed
`
Coldfusion 11
`
mkdir -p /temp2/cert
cd /temp2
echo “test” > index.cfm
openssl req -newkey rsa:2048 -nodes -keyout /temp2/cert/key.pem -x509 -days 365 -out /temp2/cert/certificate.pem
box server start cfengine=adobe@11 SSLEnable=true SSLCertFile=/temp2/cert/certificate.pem SSLKeyFile=/temp2/cert/key.pem host=webappsdev.mydomain.com
SSL does not work the very first “server start”
box server stop
box server start cfengine=adobe@11 SSLEnable=true SSLCertFile=/temp2/cert/certificate.pem SSLKeyFile=/temp2/cert/key.pem host=webappsdev.mydomain.com
Error
`
The web browsers display the following error messages, with no option for certification exceptions:
Chrome
This site can’t provide a secure connection ERR_SSL_PROTOCOL_ERROR
Firefox