News for hackers. Stuff that matters.
Re:Should you use www or not in your domain? (2017) by susam on Sunday November 11, 2018 @09:48AM (#18426594)
You can create a certificate with "example.com" as the subject and "www.example.com" as subject alternative name (SAN).

Here is an example certbot command:

  certbot certonly -n --agree-tos -m [email protected] --webroot -w /var/www/example.com -d 'example.com,www.example.com'
The argument to the `-d` option defines all the subject alternative names.
Re:Should you use www or not in your domain? (2017) by djsumdog on Sunday November 11, 2018 @02:10PM (#18427949)
Yea, this is what I do. I wrote a script to automate the process too:

https://github.com/sumdog/bee2/blob/master/dockerfiles/CertB...