Tutorial & Configuration
  • Home
  • Desktop
  • Server
  • Mikrotik
  • Tools
  • Home
  • Desktop
  • Server
  • VirtualBox
  • Cisco
  • Mikrotik
  • Tools
  • About
  • Contact

Sabtu, 29 April 2023

Install SSL Let's Encrypt on Ubuntu - nginx web server

 maouam     April 29, 2023     Nginx, Server     No comments   

 1. Install certbot and nginx plugin

    - sudo apt install certbot python3-certbot-nginx -y

2. confirm your web before install SSL

    - sudo nano /etc/nginx/sites-available/test.com

3. Check syntax errors

    - sudo nginx -t

4. Reload nginx

    - sudo systemctl reload nginx

5. Check firewal, if active allow https

    - sudo ufw status
    - 
sudo ufw allow 'Nginx Full'
    - sudo ufw delete allow 'Nginx HTTP

6. Obtaining an SSL Certificate

    - sudo certbot --nginx -d test.com -d www.test.com

7. verify auto renewal

    - sudo systemctl status certbot.timer

8. Test renewal proccess

    - sudo certbot renew --dry-run

DONE


NOTE: - First, pointing yourdomain. example: www.test.com test.com to public ip address
             - For another domain, follow just step 6

  • Share This:  
  •  Facebook
  •  Twitter
  •  Google+
  •  Stumble
  •  Digg
Kirimkan Ini lewat EmailBlogThis!Bagikan ke XBerbagi ke Facebook
Posting Lebih Baru Posting Lama Beranda

0 komentar:

Posting Komentar

Popular Posts

LABELS

  • AWS
  • Cisco
  • Cloud
  • Desktop
  • DevOps
  • Mikrotik
  • Network
  • Nginx
  • node2an
  • Proxmox
  • Server
  • Tools
  • VirtualBox
  • Zimbra

Sosial Media

Facebook 35.4Fans
Twitter 519Followers
Instagram 1060Followers
google+ 16Followers
Youtube 24Subscriber

Widget

  • Home
  • About Us
  • Contact Us

Copyright © Tutorial & Configuration