How to obtain free SSL Certificate
Overview
In this video, I will train you to obtain free SSL certificate
I will cover 4 methods to obtain free SSL certificate:
- Web Server challenge
- Standalone server challenge
- Manual DNS challenge for wildcard certificates
- DNS API challenge with ArvanCloud API for wildcard certificates
NGINX configuration sample:
1server {
2 listen 443 ssl;
3 server_name prometheus.plabs.pro;
4 ssl_certificate /.acme.sh/plabs.pro/plabs.pro.cer;
5 ssl_certificate_key /.acme.sh/plabs.pro/plabs.pro.key;
6 location / {
7 auth_basic "Restricted";
8 auth_basic_user_file /etc/nginx/.htpasswd;
9 proxy_pass http://127.0.0.1:9090;
10}
11}