How to Use letsencrypt/certbot to get certification for .app domain

854 Views Asked by At

I have a .app domain and would like to use letsencrypt/certbot to generate ssl certificates. Based on the instructions in https://certbot.eff.org/, I will need to have an HTTP website running on this domain to get the ssl certification using certbot.

However, the .app domain does not allow any http traffic, thus I cannot setup an http website on this domain.

Here is the error code that I see:

Fetching https://<my_server_ip>/.well-known/acme-challenge/MA8bj-<code>: Invalid host in redirect target "<my_server_ip>". Only domain names are supported, not IP addresses

I am wondering how I can get the ssl certificate using certbot for .app domain. I cannot find much information about this issue. I really appreciate any help.

1

There are 1 best solutions below

0
krahimi On

I found the issue was that I had configured redirect instead of DNS record in my domain configuration. After creating the DNS record and removing the redirect, it started to work well.