Https://www.example.net The request message was malformed :: Invalid character in DNS name

when we use dns name https://www.example.net The request message was malformed :: Invalid character in DNS name

certbot certonly -a webroot --webroot-path=/usr/local/nginx/conf -d https://www.example.net

its giving error .: The request message was malformed :: Invalid character in DNS name

please help me.

certbot expects a Fully Qualified Domain Name as the value for -d. The “https://” the “scheme” part of an URL. So you need to remove that.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.