Konfigurasi SSL Lets Encrypt VPS: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
*[[DNS]] Validations | *[[DNS]] Validations | ||
<syntaxhighlight lang=" | |||
<syntaxhighlight lang="bash"> | |||
certbot -d example.com --manual --preferred-challenges dns certonly | |||
</syntaxhighlight> | |||
*Ini akan manambahkan recotd [[DNS]] <code>TXT</code> pada domain. | *Ini akan manambahkan recotd [[DNS]] <code>TXT</code> pada domain. | ||
<syntaxhighlight lang=" | |||
<syntaxhighlight lang="bash"> | |||
sudo certbot --nginx --agree-tos --redirect --hsts --staple-ocsp --manual --preferred-challenges dns certonly --email you@example.com -d wiki.your-domain.com | |||
</syntaxhighlight> | </syntaxhighlight> | ||