SSL for Admin ISPCONFIG 3

Can you show me the exact commands you used to issue the certificate for dominio.com with the LE4ISPC tool?

Here>>>

cd /etc/ssl
wget https://raw.githubusercontent.com/ahrasis/LE4ISPC/master/le4ispc.sh --no-check-certificate
chmod +x le4ispc.sh
./le4ispc.sh

and create the cert in >>/etc/letsencrypt/live
ispvultr.tk and server.ispvultr.tk

Thx

I have this files in folders>

cert.pem chain.pem fullchain.pem privkey.pem README

@BarbaraEster,

The LE4ISPC is trying to be clever just like the initial tutorial you followed weeks ago.

I can see that the certificate being served by server.ispvultr.tk is only valid for ispvultr.tk which means your server hostname is probably ispvultr.tk.

$ echo | openssl s_client -connect server.ispvultr.tk:443 -servername server.ispvultr.tk 2> /dev/null | openssl x509 -noout -issuer -subject -startdate -enddate
issuer=C = US, O = Let's Encrypt, CN = Let's Encrypt Authority X3
subject=CN = ispvultr.tk
notBefore=Sep 10 18:52:11 2019 GMT
notAfter=Dec  9 18:52:11 2019 GMT

$ echo | openssl s_client -connect ispvultr.tk:443 -servername ispvultr.tk 2> /dev/null | openssl x509 -noout -issuer -subject -startdate -enddate
issuer=C = US, O = Let's Encrypt, CN = Let's Encrypt Authority X3
subject=CN = ispvultr.tk
notBefore=Sep 10 18:52:11 2019 GMT
notAfter=Dec  9 18:52:11 2019 GMT

Can you run this command and show me the output please?
hostname -f

Before I can provide you with an actual solution, I’d need to play with ISP Config and that LE4ISPC script. Otherwise you’d have to alter some of the functionality yourself. I don’t have an answer for when I’ll be able to do that.

The important lines to note are https://github.com/ahrasis/LE4ISPC/blob/master/le4ispc.sh#L20 and https://github.com/ahrasis/LE4ISPC/blob/master/le4ispc.sh#L28.

Here>>>

root@server:~# hostname -f
server.ispvultr.tk

I am not able to help with the ISPConfig part but I wanted to point out that the --no-check-certificate option for wget is rather dangerous, especially in this case where you are downloading software that you're going to run. Did you find a tutorial that suggested using this option with wget in this situation?

1 Like

Yes this command is tutorial for install the Lets a plugin for this . The code here>>>

Thanks! I’ll suggest that the author change that recommendation in the tutorial. :slight_smile:

Edit: suggested at

1 Like

i understand, you talk me the best.

Very thanks!!!

1 Like

xD, you know the motive for contraditorie situation in url? In phpmyadmin.

Thx for Edit code for the best.

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