Jump to content

Konfigurasi SSL Lets Encrypt VPS: Difference between revisions

From Wiki
No edit summary
No edit summary
 
Line 1: Line 1:
*[[DNS]] Validations
*[[DNS]] Validations
<syntaxhighlight lang="shell">certbot -d example.com --manual --preferred-challenges dns certonly</syntaxhighlight>
 
<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="shell">sudo certbot --nginx --agree-tos --redirect --hsts --staple-ocsp --manual --preferred-challenges dns certonly --email you@example.com -d wiki.your-domain.com
 
<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>



Latest revision as of 17:15, 19 December 2022

  • DNS Validations
certbot -d example.com --manual --preferred-challenges dns certonly
  • Ini akan manambahkan recotd DNS TXT pada domain.
sudo certbot --nginx --agree-tos --redirect --hsts --staple-ocsp --manual --preferred-challenges dns certonly --email you@example.com -d wiki.your-domain.com

Source