Hello! Nginx keeps generating wrong file in /opt/zextras/conf/domaincerts/
it adds wrong line: -----END CERTIFICATE----------BEGIN CERTIFICATE-----
and displays an error: Starting proxy...nginx: [emerg] cannot load certificate "/opt/zextras/conf/domaincerts/XXXXXXX.crt": ( XX -replaced by myself) PEM_read_bio_X509_AUX() failed (SSL: error:04800066:PEM routines::bad end line)
I try to install namecheap.com ssl certificate. Following all steps.
zextras@mail:/tmp$ zmcertmgr verifycrt comm /opt/zextras/ssl/carbonio/commercial/commercial.key commercial.crt commercial_ca.crt
** Verifying 'commercial.crt' against '/opt/zextras/ssl/carbonio/commercial/commercial.key'
Certificate 'commercial.crt' and private key '/opt/zextras/ssl/carbonio/commercial/commercial.key' match.
** Verifying 'commercial.crt' against 'commercial_ca.crt'
Valid certificate chain: commercial.crt: OK