SSL certificate error

Install the certificate correctly. You could only enter my certified website by searching for “https://freedomk.art” if you searched as “freedomk.art” or “www.freedomk.art” it opened as a non-secure site, that is, without certification. What I did was make a new rule and add these two lines of code that redirect the traffic from http to https.

RewriteCond %{SERVER_PORT} ^80$
RewriteRule .* https://%{SERVER_NAME}%{REQUEST_URI} [R=301,L]

now the secure site does not open directly for me, not even searching for “https://freedomk.art” I mean, it always opens it without certification, but in the cyber panel it appears that I have more than 3700 days with the active certificate

1 Like

same here

NET::ERR_CERT_AUTHORITY_INVALID

Welcome @si668p Happy you are here

See if your certificate is properly installed SSL Checker | Free online SSL Certificate Test for your website | IONOS and post result here

i want to share results but cannot…this forum wont let me

Take a screenshot and upload it here or just copy paste what you see

The issued SSL is self-signed SSL. Run the SSL command with --debug option.
You can copy SSL command from /home/cyberpanel/something.log.

If you will have successfully issue an SSL restart the webserver by “service lsws restart” command otherwise check the reason of not accessing file written by SSL command

Let’s remove the ssl certificate

$ rm -f /etc/letsencrypt/live/obrtnik.net/privkey.pem && rm -f /etc/letsencrypt/live/obrtnik.net/fullchain.pem 

and reinstall it through CyberPanel:

  1. Go to https://SERVER_URL:8090/manageSSL/manageSSL
  2. Choose obrtnik.net
  3. Click on Issue SSL

removal does not work

What is the error on your terminal

none

its on centos 7

Run ls /etc/letsencrypt/live/

image

Let’s issue hostname SSL again https://server.obrtnik.net:8090/manageSSL/sslForHostName then issue obrtnik.net SSL https://server.obrtnik.net:8090/manageSSL/manageSSL

See if your obrtnik.net certificate is properly installed SSL Checker | Free online SSL Certificate Test for your website | IONOS and server.obrtnik.net SSL Server Test (Powered by Qualys SSL Labs) and post result here

You need to remove private keys and certificates at the Virtual Host Level


Then you delete all private keys and certificates for respective website and hostname from server:

$ rm -f /etc/letsencrypt/live/obrtnik.net/privkey.pem && rm -f /etc/letsencrypt/live/obrtnik.net/fullchain.pem

$ rm -f /etc/letsencrypt/live/server.obrtnik.net/privkey.pem && rm -f /etc/letsencrypt/live/server.obrtnik.net/fullchain.pem

$ rm -f /etc/letsencrypt/live/mail.obrtnik.net/privkey.pem && rm -f /etc/letsencrypt/live/mail.obrtnik.net/fullchain.pem

Then resissue the CyberPanel way:

  1. Go to https://server.obrtnik.net:8090/manageSSL/sslForHostName
  2. Choose obrtnik.net
  3. Click on Issue SSL

do the same for hostname: https://server.obrtnik.net:8090/manageSSL/sslForHostName