Linux Lets Encrypt - Certbot: Difference between revisions

From UNIX Systems Administration
Jump to navigation Jump to search
(Created page with "== Apache == ==== RHEL9+ ==== Install packages. : <tt>'''# dnf install letsencrypt python3-certbot-apache'''</tt> Download and register certificate. : <tt>'''# certbot -d <url> -d <url1> -d <url3...> --apache'''</tt> ==== Debian ==== : <tt>'''# '''</tt>")
 
No edit summary
 
(7 intermediate revisions by the same user not shown)
Line 5: Line 5:
Download and register certificate.
Download and register certificate.
: <tt>'''# certbot -d <url> -d <url1> -d <url3...> --apache'''</tt>
: <tt>'''# certbot -d <url> -d <url1> -d <url3...> --apache'''</tt>
Restart webserver.
: <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