a few months ago I enabled HTTPS on smartfoxserver2 following the official documentation http://docs2x.smartfoxserver.com/GettingStarted/cryptography
Everything worked correctly without ever having to intervene.
Today I connected to the admin address and the certificate is unsafe, and my apps no longer work.
I followed the guide again, I gave the same commands to create the new keystore.jks file, I imported it from the admin panel, but the certificate was still insecure by connecting to https://my_domain.it:8443/admin/.
So I restarted the server. Now the panel is no longer accessible in any way, however it seems that smartfoxserver starts correctly from the logs.
Code: Select all
<Connector SSLEnabled="true" clientAuth="false" keystoreFile="lib/apache-tomcat/conf/keystore.jks" keystorePass="***********" maxThreads="200" port="8443" protocol="org.apache.coyote.http11.Http11NioProtocol" scheme="https" secure="true" sslProtocol="TLS"/>
If I try to connect to the admin panel, the connection times out ERR_TIMED_OUT
Without making further restarts for 15 minutes, suddenly it worked and the certificate is safe.
What is this slowness due to?
Is there any way to automatically update the keystore.jks file, or do I have to create a script?