Let's Encrypt - How to use
-
- Posts: 2
- Joined: Tue Jul 26, 2016 7:28 am
Let's Encrypt - How to use
Hello!
I just saw you added Let's Encrypt official support. It is great, but I don't know how to use it.
Which of the commands before I should use to make my domain example.com with ssl? Please write an example for "example.com" domain name (I want to activate ssl to be https://example.com). And I also know that the certificate expires at 90 days, does it will be automatically renewed? If not, how to renew it?
Thanks!!!!
I just saw you added Let's Encrypt official support. It is great, but I don't know how to use it.
Code: Select all
v-add-letsencrypt-domain USER DOMAIN [ALIASES] [RESTART]
v-add-letsencrypt-user USER [EMAIL]
v-check-letsencrypt-domain USER DOMAIN
v-list-letsencrypt-user USER [FORMAT]
v-sign-letsencrypt-csr USER DOMAIN CSR_DIR [FORMAT]
v-update-letsencrypt-ssl
Thanks!!!!
-
- Posts: 2
- Joined: Tue Jul 26, 2016 7:28 am
Re: Let's Encrypt - How to use
Anyone, please? Thank you!
Re: Let's Encrypt - How to use
Code: Select all
v-add-letsencrypt-domain USERNAME DOMAIN
Any problems when issuing a command like this: /usr/local/vesta/bin/v-add-letsencrypt-user: line 59: xxd: command not found
Code: Select all
yum install vim-common
Code: Select all
v-update-letsencrypt-ssl
Re: Let's Encrypt - How to use
anyone a step by step guide how to do this for vestacp conbtrolpanel itself?
do i need a cron job to do : v-update-letsencrypt-ssl or does vestacp do that automatically??
do i need a cron job to do : v-update-letsencrypt-ssl or does vestacp do that automatically??
Re: Let's Encrypt - How to use
This is only CLI. Next Vesta release will include the GUI.sennevb wrote:anyone a step by step guide how to do this for vestacp conbtrolpanel itself?
do i need a cron job to do : v-update-letsencrypt-ssl or does vestacp do that automatically??
Re: Let's Encrypt - How to use
When use v-add-letsencrypt-domain USERNAME DOMAIN i have problem:
How fix it?
Code: Select all
Error: LetsEncrypt account registration 400
Re: Let's Encrypt - How to use
Try:
I get this error after the fix I think it's letsEncrypt side but I have not had time to look into it yet :(
Code: Select all
yum install vim-common
Re: Let's Encrypt - How to use
Change line 44 of: /usr/local/vesta/bin/v-add-letsencrypt-user
Thanks to abst from russian branch - http://forum.vestacp.com/viewtopic.php? ... 317#p48649
Code: Select all
agreement='https://letsencrypt.org/documents/LE-SA-v1.1.1-August-1-2016.pdf'
Re: Let's Encrypt - How to use
Hello after following the steps and add the agreement. There is still a error message , please can you suggest how to proceed?
I have done:
1)
2)
Change line 44 of: /usr/local/vesta/bin/v-add-letsencrypt-user
3)
Result:
I have done:
1)
Code: Select all
yum install vim-common
Change line 44 of: /usr/local/vesta/bin/v-add-letsencrypt-user
Code: Select all
agreement='https://letsencrypt.org/documents/LE-SA-v1.1.1-August-1-2016.pdf'
Code: Select all
v-add-letsencrypt-domain USERNAME DOMAIN
Code: Select all
chown: cannot access `/home/admin/web/domain.com/public_html/.well-known': No such file or directory
Error: Error: Authorizations for these names not found or expired: domain.com
Re: Let's Encrypt - How to use
I have another problem than you Gursl
After v-add-letsencrypt-domain USERNAME DOMAIN, nginx could restart.
After a service nginx restart, I had this error :
* Restarting nginx nginx nginx:
And indeed, I don't know what is "ips" and where this word comes from....
After v-add-letsencrypt-domain USERNAME DOMAIN, nginx could restart.
After a service nginx restart, I had this error :
* Restarting nginx nginx nginx:
And in my /home/me/conf/web/snginx.conf file, I have this :[emerg] host not found in "ips:443" of the "listen" directive in /home/me/conf/web/snginx.conf:2
nginx: configuration file /etc/nginx/nginx.conf test failed
Code: Select all
server {
listen ips:443;
server_name domain.fr http://www.domain.fr;
ssl on;
ssl_certificate /home/me/conf/web/ssl.domain.fr.pem;
ssl_certificate_key /home/me/conf/web/ssl.domain.fr.key;
error_log /var/log/apache2/domains/domain.fr.error.log error;
location / {
proxy_pass https://ips:8443;
location ~* ^.+\.(jpeg|jpg|png|gif|bmp|ico|svg|tif|tiff|css|js|htm|html|ttf|otf|webp|woff|txt|csv|rtf|doc|docx|xls|xlsx|ppt|pptx|odf|odp|ods|odt|pdf|psd|ai|eot|eps|ps|zip|ta$
root /home/me/web/domain.fr/public_html;
access_log /var/log/apache2/domains/domain.fr.log combined;
access_log /var/log/apache2/domains/domain.fr.bytes bytes;
expires max;
try_files $uri @fallback;
}
}
location /error/ {
alias /home/me/web/domain.fr/document_errors/;
}
location @fallback {
proxy_pass https://ips:8443;
}
location ~ /\.ht {return 404;}
location ~ /\.svn/ {return 404;}
location ~ /\.git/ {return 404;}
location ~ /\.hg/ {return 404;}
location ~ /\.bzr/ {return 404;}
include /home/me/conf/web/snginx.domain.fr.conf*;
}