Use autossl for custom application
Hello everyone :),
I am new to the world of Cpanel and I would like you to help me with a question I have.
I am testing an application made by me in nodejs for handling WebSockets, the architecture of my project is as follows
app
-> websockets_logic_dir
-> ssl certificates_dir
-> cert.pem
-> key.pem
the application works on port 8084 (wss: // domain: 8084)
currently, every Cpanel certificates expire (every 3 months) I have to change the certificates in my app manually.
My question is: is there a way to use AutoSSL so that they update automatically as it does with domains?
could you help me, please? o_O
-
Greetings! AutoSSL only creates certificates and installs them on the standard services. Unfortunately there is no readily available means to add a custom service to AutoSSL. If you can script the application of an accounts certificate to your application, then you can use the AutoSSL::installssl event hook to trigger your script and have the certificate installed for nodejs. 0 -
Greetings! AutoSSL only creates certificates and installs them on the standard services. Unfortunately there is no readily available means to add a custom service to AutoSSL. If you can script the application of an accounts certificate to your application, then you can use the AutoSSL::installssl event hook to trigger your script and have the certificate installed for nodejs.
0 -
Sure - the SSL files themselves are stored in /var/cpanel/ssl/apache_tls/domain.com/combined. that file will have the key, certificate, and CA bundle all in one place. 0
Please sign in to leave a comment.
Comments
3 comments