linux - How to create a Let’s Encrypt self signed certificate for a subdomain only? (error in post) -


how create let’s encrypt self signed certificate subdomain?

to specific:

  • sub.domain.com (needs certificate , points ip address)
  • domain.com (does not point anything)

when following the following instructions, following errors:

>>> sudo -h ./letsencrypt-auto certonly --standalone -d sub.domain.com --register-unsafely-without-email saving debug log /var/log/letsencrypt/letsencrypt.log plugins selected: authenticator standalone, installer none obtaining new certificate performing following challenges: tls-sni-01 challenge sub.domain.com waiting verification... cleaning challenges failed authorization procedure. sub.domain.com (tls-sni-01): urn:acme:error:connection :: server not connect client verify domain :: timeout  important notes:  - following errors reported server:     domain: sub.domain.com    type:   connection    detail: timeout     fix these errors, please make sure domain name    entered correctly , dns a/aaaa record(s) domain    contain(s) right ip address. additionally, please check    computer has publicly routable ip address , no    firewalls preventing server communicating    client. if you're using webroot plugin, should verify    serving files webroot path provided. 

you need run commands on server, cause command verifies control domain, if it's not on server can't verify correctly.


Comments

Popular posts from this blog

angular - Ionic slides - dynamically add slides before and after -

minify - Minimizing css files -

Add a dynamic header in angular 2 http provider -