Your connection is not secure

I have just upgraded the server and cyberpanel. On testing a couple of websites I am seeing "Your connection is not secure"

I tried to manually Issue SSL (letsencrypt) for these sites, but all of them are saying the same.
The upgrade was from 1.7 to 1.8. Is there an issue I need to be aware of?
Nothing obvious in the error log

Comments

  • CyberPanel upgrade does not interfere with your SSL certificates.
  • Any hints how to fix this? Where to look
  • This certificate has expired (88 days ago) Reissue is not working and would it not normally renew automatically?
  • It should auto-renew. You can try to remove SSL directory and reissue SSL.

    rm -rf /etc/letsencrypt/live/example.com
  • Thanks for the help. SSL files get updated now, but still errors.
    ls -l harris-architect.com/
    total 12

    -rw-r--r-- 1 root root 1960 Feb 5 05:58 cert.pem
    -rw-r--r-- 1 root root 3607 Feb 5 05:58 fullchain.pem
    -rw------- 1 root root 1679 Feb 5 05:58 privkey.pem

    When accessing the site is still showing Insecure Connection and not accessible.
    SSL checker still claiming the cert has not been renewed or setup incorrectly


    Error log
    2019-02-05 06:11:04.689692 [ERROR] Invalid rewrite directive: SetEnv htaccessWorking true
    2019-02-05 06:11:04.689696 [INFO] Rewrite directive: bypassed.
    2019-02-05 06:11:04.689700 [INFO] Rewrite directive: bypassed.
    2019-02-05 06:11:04.689704 [INFO] Rewrite directive: bypassed.
    2019-02-05 06:11:04.689708 [ERROR] Invalid rewrite directive: php_value upload_max_filesize 511M
    2019-02-05 06:11:04.689712 [ERROR] Invalid rewrite directive: php_value post_max_size 511M
    2019-02-05 06:11:04.689716 [ERROR] Invalid rewrite directive: php_value memory_limit 512M
    2019-02-05 06:11:04.689726 [ERROR] Invalid rewrite directive: php_value mbstring.func_overload 0
    2019-02-05 06:11:04.689731 [ERROR] Invalid rewrite directive: php_value default_charset 'UTF-8'
    2019-02-05 06:11:04.689735 [ERROR] Invalid rewrite directive: php_value output_buffering 0
    2019-02-05 06:11:04.689739 [INFO] Rewrite directive: bypassed.
    2019-02-05 06:11:04.689743 [ERROR] Invalid rewrite directive: SetEnv htaccessWorking true
    2019-02-05 06:11:04.689747 [INFO] Rewrite directive: bypassed.
    2019-02-05 06:11:04.689751 [INFO] Rewrite directive: bypassed.
    2019-02-05 06:11:04.689755 [INFO] Rewrite directive: bypassed.
    2019-02-05 06:11:04.689818 [INFO] Rewrite directive: bypassed.
    2019-02-05 06:11:04.689823 [INFO] Rewrite directive: bypassed.
    2019-02-05 06:11:04.689827 [ERROR] Invalid rewrite directive: AddType image/svg+xml svg svgz
    2019-02-05 06:11:04.689831 [ERROR] Invalid rewrite directive: AddEncoding gzip svgz
    2019-02-05 06:11:04.689835 [INFO] Rewrite directive: bypassed.
    2019-02-05 06:11:04.689839 [INFO] Rewrite directive: bypassed.
    2019-02-05 06:11:04.689843 [ERROR] Invalid rewrite directive: DirectoryIndex index.php index.html
    2019-02-05 06:11:04.689847 [INFO] Rewrite directive: bypassed.
    2019-02-05 06:11:04.689851 [ERROR] Invalid rewrite directive: AddDefaultCharset utf-8
    2019-02-05 06:11:04.689855 [ERROR] Invalid rewrite directive: Options -Indexes
    2019-02-05 06:11:04.689860 [INFO] Rewrite directive: bypassed.
    2019-02-05 06:11:04.689864 [ERROR] Invalid rewrite directive: ModPagespeed Off
    2019-02-05 06:11:04.689868 [INFO] Rewrite directive: bypassed.
    2019-02-05 06:11:04.689872 [ERROR] Invalid rewrite directive: ErrorDocument 403 //
    2019-02-05 06:11:04.689876 [ERROR] Invalid rewrite directive: ErrorDocument 404 //
    2019-02-05 06:11:04.689881 [INFO] RewriteFile [.htaccess] parsed, return 0.
    2019-02-05 06:11:04.689917 [INFO] [PlainConf] [virtualHostConfig:] start parsing file /usr/local/lsws/conf/vhosts/hostchestnut.com/vhost.conf
    2019-02-05 06:11:04.706866 [INFO] [PlainConf] [virtualHostConfig:] RCS checkin config file /usr/local/lsws/conf/vhosts/hostchestnut.com/vhost.conf0 OK.
    2019-02-05 06:11:04.707656 [INFO] [config:server:vhosts:vhost:hostchestnut.com] config conxtext /.filemanager.
    2019-02-05 06:11:04.707779 [INFO] RewriteFile [/home/hostchestnut.com/public_html/.htaccess] parsed, return 0.
    2019-02-05 06:11:04.707895 [INFO] [PlainConf] [virtualHostTemplate:] start parsing file /usr/local/lsws/conf/templates/ccl.conf
    2019-02-05 06:11:04.724565 [INFO] [PlainConf] [virtualHostTemplate:] RCS checkin config file /usr/local/lsws/conf/templates/ccl.conf0 OK.
    2019-02-05 06:11:04.724725 [INFO] [PlainConf] [context:/] rewrite [] add rules [rewritefile .htaccess]
    2019-02-05 06:11:04.724782 [INFO] [PlainConf] [virtualHostTemplate:] start parsing file /usr/local/lsws/conf/templates/phpsuexec.conf
    2019-02-05 06:11:04.740571 [INFO] [PlainConf] [virtualHostTemplate:] RCS checkin config file /usr/local/lsws/conf/templates/phpsuexec.conf0 OK.
    2019-02-05 06:11:04.740727 [INFO] [PlainConf] [context:/] rewrite [] add rules [rewritefile .htaccess]
    2019-02-05 06:11:04.740804 [INFO] [PlainConf] [virtualHostTemplate:] start parsing file /usr/local/lsws/conf/templates/rails.conf
    2019-02-05 06:11:04.755383 [INFO] [PlainConf] [virtualHostTemplate:] RCS checkin config file /usr/local/lsws/conf/templates/rails.conf0 OK.
    2019-02-05 06:11:04.755492 [INFO] [PlainConf] [context:/] rewrite [] add rules [rewritefile .htaccess]
    2019-02-05 06:11:04.755539 [NOTICE] [ZConfManager] No VHosts added, do not send!
    2019-02-05 06:11:04.756174 [NOTICE] [AutoRestarter] new child process with pid=14191 is forked!
    2019-02-05 06:11:04.757020 [NOTICE] [child: 14191] Successfully change current user to nobody
    2019-02-05 06:11:04.757065 [NOTICE] Child: 14191] Core dump is enabled.
    2019-02-05 06:11:04.757124 [NOTICE] [Child: 14191] Setup swapping space...
    2019-02-05 06:11:04.757236 [NOTICE] [Child: 14191] LiteSpeed/1.4.43 Open starts successfully!
  • Fantastic. That worked for all the sites. thank you! :)
Sign In or Register to comment.
Support CyberPanel CyberPanel Discord

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!