Fix Self-sign CA – VestaCP password driver

I have to updated the selfsigned SSL cert as following:

echo -n | openssl s_client -connect ns1.test.com:8083 | sed -ne ‘/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p’| tee ‘/usr/local/share/ca-certificates/ns1.test.com.crt’ && update-ca-certificates

and update the password/config.inc.php to :+1:

$rcmail_config[‘password_vesta_host’] = ‘ns1.test.com’;