SSLCertificateInstall()
install certificates of a specific host
SSLCertificateInstall( host=string, port=number, cacertPath=any, password=string );
Returns: void
Usage Notes
Lucee 5 bundled a caerts file, which caused problems as it was never updated and root certs change, causing SSL errors for normal websites with valid certs.
Lucee 6 by default uses the JVM cacerts file, which currently doesn't work with this function LDEV-917
To use the old behaviour, use lucee.use.lucee.SSL.TrustStore=true
or LUCEE_USE_LUCEE_SSL_TRUSTSTORE=true
Examples
dump(SSLCertificateInstall("google.com"));
See also
- Lucee Server related Tags, Functions and Guides
- SSLCertificateList()
- Search Issue Tracker
- Search Lucee Test Cases (good for further, detailed examples)