well I have a problem after adding the ssl certificate from the carbonio administration console
Starting proxy...nginx: [emerg] cannot load certificate "/opt/zextras/conf/domaincerts/xxxxxxxx.com.py.crt": PEM_read_bio_X509_AUX() failed (SSL: error:0908F066:PEM routines:get_header_and_data:bad end line)
The problem is very simple since I only have to enter on this line of the certificat
-----END CERTIFICATE----------BEGIN CERTIFICATE-----
so that it looks like this
-----END CERTIFICATE-----
-----BEGIN CERTIFICATE-----
but when you stop and start the services, the webmail does not work as it was doing
I stop the service and upload again and the certificate has the same error, the lines are stuck
-----END CERTIFICATE----------BEGIN CERTIFICATE-----
Is there any way to fix this
It seems that you have no certificate. Have you verified that the certificate files you uploaded are not empty? What kind of certificate do you have? Let's Encrypt or commercial?
I tried adding a wildcard certificate to the web panel and got the same error by restarting the proxy service.
Same situation here.
I added a commercial certificate pasting the certificate's text, cert, CA and key.
Proxy service now does no start.
How can I revert it?
I answer myself.
I have fixed proxy service removing VirtualHostnames
First I got the VirtualHostnames with:
$ zmprov gd [domain_name] |grep -i virtual
And then deleting the VirtualHostnames with:
$ zmprov md [domain_name] -zimbraVirtualHostname [VirtualHostname]
After that, proxy service started like a charm.
Hope this helps.
Regards,
Miguel.
zextras@mail:~$ zmproxyctl restart
Stopping proxy...done.
Starting proxy...nginx: [emerg] cannot load certificate "/opt/zextras/conf/domaincerts/bik****.com.np.crt": PEM_read_bio_X509_AUX() failed (SSL: error:04800066:PEM routines::bad end line)
failed.
I got the same error after loading certificate from Carbonio Admin Panel for a specific domain. Does anyone knows how to install a SSL certificate for each domain separately?
I got the same error. After loading certificate from Carbonio Admin Panel.
zextras@mail:~$ /opt/zextras/bin/zmproxyctl reload
Reloading proxy...nginx: [emerg] cannot load certificate "/opt/zextras/conf/domaincerts/p***u.crt": PEM_read_bio_X509_AUX() failed (SSL: error:04800066:PEM routines::bad end line)
done.
/opt/zextras/conf/domaincerts/p**u.crt - got an -----END CERTIFICATE----------BEGIN CERTIFICATE-----
How to fix?
P.S. using let's encrypt