Skip to content

AutoSSL πŸ”βœ¨ A simple bash script that automates obtaining free SSL certificates from Let's Encrypt using acme.sh on Linux servers without requiring a web server. Perfect for quick and hassle-free SSL setup with automatic certificate renewal .

License

Notifications You must be signed in to change notification settings

monhacer/AutoSSL

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

9 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

AutoSSL πŸ”’βœ¨

A simple and automatic script to obtain free SSL certificates from Let’s Encrypt using acme.sh on Linux servers without the need for a web server.


Features πŸš€

  • Automatic installation and setup of acme.sh
  • Issue SSL certificates using standalone mode (no web server required)
  • Saves private key and certificate with .pem extension under /root/cert/yourdomain/
  • Colorful terminal messages for better user experience

Requirements βš™οΈ

  • Operating System: Ubuntu or other Linux distributions
  • Root access
  • Port 80 must be free and not used by any other service

Manual installation

How to Use πŸ› οΈ

  1. Download the script directly:

    curl -4 -O https://raw.githubusercontent.com/monhacer/AutoSSL/main/AutoSSL.sh
    

    or

    wget -4 https://raw.githubusercontent.com/monhacer/AutoSSL/main/AutoSSL.sh
    
  2. Make it executable:

    chmod +x AutoSSL.sh
    
  3. Run the script with root permissions:

    sudo ./AutoSSL.sh
    
  4. Enter your domain and email when prompted.

  5. Your private key and certificate will be saved in /root/cert/yourdomain/.


Auto Renewal πŸ”„

acme.sh automatically sets up a cron job for certificate renewal.
To view cron jobs, run:
crontab -l


One-Command installer

wget -4 https://raw.githubusercontent.com/monhacer/AutoSSL/main/AutoSSL.sh
chmod +x AutoSSL.sh
sudo ./AutoSSL.sh

Important Notes ⚠️

  • Make sure port 80 is open and not occupied by any other service.
  • This script only obtains and saves certificates; installing them on your services is your responsibility.

License πŸ“„

This project is licensed under the MIT License.


Contact βœ‰οΈ

For questions or suggestions, please visit my GitHub profile: aioexp

About

AutoSSL πŸ”βœ¨ A simple bash script that automates obtaining free SSL certificates from Let's Encrypt using acme.sh on Linux servers without requiring a web server. Perfect for quick and hassle-free SSL setup with automatic certificate renewal .

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages