letsencrypt

วิธีติดตั้ง Wildcard Certificate ของ Letsencrypt ผ่าน certbot แบบติดตั้งเอง บน Ubuntu

  1. ติดตั้ง certbot
    sudo apt install certbot
  2. ใช้ certbot เพื่อติดตั้ง certificate
    sudo certbot certonly --manual --email mail@example.com -d *.example.com

    Saving debug log to /var/log/letsencrypt/letsencrypt.log
    Plugins selected: Authenticator manual, Installer None
    Obtaining a new certificate
    Performing the following challenges:
    dns-01 challenge for example.com
     
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    NOTE: The IP of this machine will be publicly logged as having requested this
    certificate. If you're running certbot in manual mode on a machine that is not
    your server, please ensure you're okay with that.
     
    Are you OK with your IP being logged?
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    (Y)es/(N)o: Y
     
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Please deploy a DNS TXT record under the name
Subscribe to RSS - letsencrypt