After installing a new certificate with certbot I couldnt login to CWP anymore. When I tried to restart it i got this error
Starting cwpsrv: cwpsrv: [emerg] SL_CTX_use_PrivateKey_file("/etc/pki/tls/private/hostname.key") failed (SSL: error:0B080074:x509 certificate routines:X509_check_private_key:key values mismatch)
I solved it logging in by ssh as root and then using this command :
/usr/local/cwpsrv/htdocs/resources/scripts/generate_hostname_ssl
Motorcycle rider
American football player
DIY enthusiast
Web developer on free time