Linux Lets Encrypt - Certbot: Difference between revisions

From UNIX Systems Administration
Jump to navigation Jump to search
No edit summary
No edit summary
 
(One intermediate revision by the same user not shown)
Line 7: Line 7:
Restart webserver.
Restart webserver.
: <tt>'''# systemctl restart httpd'''</tt>
: <tt>'''# systemctl restart httpd'''</tt>
==== Debian ====


== Nginx ==
== Nginx ==
Line 19: Line 17:
: <tt>'''# systemctl restart nginx'''</tt>
: <tt>'''# systemctl restart nginx'''</tt>


==== Debian ====
== Further Reading ==
: <tt>'''# '''</tt>
 
[[Category:Linux]]

Latest revision as of 18:27, 2 April 2026

Apache

RHEL9+

Install packages.

# dnf install letsencrypt python3-certbot-apache

Download and register certificate.

# certbot -d <url> -d <url1> -d <url3...> --apache

Restart webserver.

# systemctl restart httpd

Nginx

RHEL9+

Install packages.

# dnf install letsencrypt python3-certbot-nginx

Download and register certificate.

# certbot -d <url> -d <url1> -d <url3...> --nginx

Restart webserver.

# systemctl restart nginx

Further Reading