Linux Lets Encrypt - Certbot: Difference between revisions

From UNIX Systems Administration
Jump to navigation Jump to search
No edit summary
Tag: Reverted
No edit summary
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
= Apache =
== Apache ==
== RHEL9+ ==
==== RHEL9+ ====
Install packages.
Install packages.
: <tt>'''# dnf install letsencrypt python3-certbot-apache'''</tt>
: <tt>'''# dnf install letsencrypt python3-certbot-apache'''</tt>
Line 8: Line 8:
: <tt>'''# systemctl restart httpd'''</tt>
: <tt>'''# systemctl restart httpd'''</tt>


== Debian ==
== Nginx ==
: <tt>'''# '''</tt>
==== RHEL9+ ====
Install packages.
: <tt>'''# dnf install letsencrypt python3-certbot-nginx'''</tt>
Download and register certificate.
: <tt>'''# certbot -d <url> -d <url1> -d <url3...> --nginx'''</tt>
Restart webserver.
: <tt>'''# systemctl restart nginx'''</tt>
 
== Further Reading ==
 
[[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