Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section Web Server
  • Search

Letsencrypt intermediate and leaf certificates

Questions regarding the Web Server
Apache + Nginx, Nginx + PHP5-FPM
Post Reply
  • Print view
Advanced search
4 posts • Page 1 of 1
jeremiah
Posts: 2
Joined: Fri Feb 23, 2018 11:25 pm

Os: Debian 8x
Web: apache + nginx
Letsencrypt intermediate and leaf certificates
  • Quote

Post by jeremiah » Thu Mar 01, 2018 11:03 pm

I'm running prosody and am linked the /home/admin/conf/web/ .crt and .key certificates for prosody to use, but it's giving me an error when I test my xmpp server.

Error: unable to get local issuer certificate.
Error: unable to verify the first certificate.

I don't know much about certificates, but in the past when I generated LE certs with certbot, it generated everything I needed.

I asked #letsencrypt support on freenode, they said Vesta is probably not including the intermediate certificate with the leaf certificate.

In the vesta control panel it shows the "SSL Certificate Authority / Intermediate (optional)" box is full.

What do I need to do to fix this?

Thanks.
Top

Felix
Posts: 134
Joined: Tue Aug 04, 2015 7:15 pm

Os: Ubuntu 15x
Web: apache + nginx
Re: Letsencrypt intermediate and leaf certificates
  • Quote

Post by Felix » Sun Mar 04, 2018 12:36 pm

If the problem is with intermediate certificate, then link to [certificate].pem instead of .crt
Also make sure that file permissions are correct an prosody process has access rights to the certificates.
Top

jeremiah
Posts: 2
Joined: Fri Feb 23, 2018 11:25 pm

Os: Debian 8x
Web: apache + nginx
Re: Letsencrypt intermediate and leaf certificates
  • Quote

Post by jeremiah » Wed Mar 07, 2018 6:09 am

Hmm.. I thought that's what it might be. When I switch back to .crt, it works fine except for the intermediate certificate error. "The server certificate is not signed by a known Certificate Authority". The permissions are ok. If prosody doesn't have permission to read the certificate it won't start and will return an error. I check with sudo -u prosody cat /path/to/certificate.key and it is able to read it.

When I use the .pem file I receive an "Undefined condition." error in Pidgin. In Xabber, it just says "Connecting..." and never returns an error or times out.

Does Vesta create a non-standard .pem file or something?

Thanks.
Top

baoang
Posts: 40
Joined: Fri Feb 23, 2018 7:31 am

Os: CentOS 5x
Web: nginx + php-fpm
Re: Letsencrypt intermediate and leaf certificates
  • Quote

Post by baoang » Thu Mar 08, 2018 3:42 am

The files, .key, .pem and .crt confused me as what is the correct order of putting them into the GUI of re-setting an existing domain.

I opened them with the textpad and these were all magic symbols, hard to know which should be filled in which blank.

This would be better and less frustrating if GUI adds hints and three upload buttons for users to select respective files to upload to somewhere Vesta can process and re-deploy the cert.
Top


Post Reply
  • Print view

4 posts • Page 1 of 1

Return to “Web Server”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

cron

Login  •  Register

I forgot my password