I’ve got a mistake, I have a certificate for my domain which works but, for my subdomain I’ve got the following error in my web-browser Google Chrome :

Unable to verify that this server is indeed, because its security certificate is from domain

My domain is:

I ran this command:
sudo /opt/letsencrypt/letsencrypt-auto --apache -d
And it finish with success

My operating system is (include version):
Linux raspberrypi 4.4.38-v7+ #938 SMP Thu Dec 15 15:22:21 GMT 2016 armv7l GNU/Linux

Please, apologies my bad english, and thank you for spend time to read my post :slight_smile:

In your apache config you are using the certificate for in your cinfigutarion for the domain.

Thank you for your answer!

In sites-available directory I’ve got a cloud.https file with this content :

NameVirtualHost *:443 <VirtualHost *:443> ServerAdmin ServerName DocumentRoot /var/www/owncloud/ SSLEngine On SSLCertificateFile /etc/letsencrypt/live/$ SSLCertificateKeyFile /etc/letsencrypt/live/$ </VirtualHost>

And I need to keep a certificate on my domain

I solved my problem by removing all .conf files and .https files and re-config by default 000-default.conf and default-ssl.conf.
Then, I create a site.conf file which contains my domain declaration, then cloud.conf which contains the sub-domain declaration.
Finally I ran Letsencrypt certification, which ends with success.

Thank you for watching my post, and for trying to help me! I hope it will help those who are in my case :slight_smile:

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.