Can't get HTTPS working for CF2023 Administrator using signed certificate
I'm trying to get HTTPS to work for accessing the CF2023 Administrator using a signed certificate.
It works fine for a self-signed certificate but I want to use a signed certificate.
Self-signed certificate works with this Connector code in server.xml:
<Connector port="8216" protocol="HTTP/1.1" SSLEnabled="true" scheme="https" secure="true" keystoreFile="/appl/ColdFusion2023/tomcat.keystore" keystorePass="slfjdslfjsdlfj" keyAlias="tomcat" clientAuth="false" sslProtocol="TLSv1.3" />
I've tried a few things for the signed certificate and neither seem to be working (error - The device or resource is not set up to accept connections on port "8216":
<Connector port="8216" protocol="HTTP/1.1" SSLEnabled="true" scheme="https" secure="true" keystoreFile="/appl/ColdFusion2023/jre/lib/security/cacerts" keystorePass="slfjdslfjsdlfj" keyAlias="mycertalias" clientAuth="false" sslProtocol="TLSv1.3" />
<Connector protocol="org.apache.coyote.http11.Http11Protocol" port="8216" maxThreads="150" SSLEnabled="true" scheme="https" SSLCertificateFile="/etc/pki/tls/certs/mycert.crt" SSLCertificateKeyFile="/etc/pki/tls/private/mycert.key" SSLProtocol="TLSv1.2" URIEncoding="UTF-8" maxPostSize="20971520" />
For the former, i put the cert in the keystore like this:
keytool -import -v -alias mycertalias -file /tmp/mycert.cer -keystore /appl/ColdFusion2023/jre/lib/security/cacerts -storepass slfjdslfjsdlfj
I'd really appreciate any help as to what I'm doing wrong. Thank you!
