[HELP]: Set encryption linence and domain
rayspeedgame opened this issue · comments
What happened?
I set the encryption options after the First Setup, but it dosen't work. Here are the error show on the home page.
There are errors with your Let's Encrypt configuration or one of your routes, please fix them as soon as possible:
- acme: error: 400 :: POST :: https://acme-v02.api.letsencrypt.org/acme/new-order :: urn:ietf:params:acme:error:rejectedIdentifier :: Error creating new order :: Cannot issue for "192.168.2.192:7351": Domain name contains an invalid character
I have set my cosmos server domain(hostname) xx.xx.org in the cosmos configuration and my router
set letsencrypt in https certification option
enable the Wildcard Certificate and inputed xx.xx.org,*.xx.xx.org
and the Authoritative DNS server of my domain is cloudflare. So I set Cloudflare in DNS provider option
then I input my cloudflare account email and global API key in the DNS challenge setup chart
the ip address of my cosmos server is 192.168.2.192 in my LAN
What should have happened?
just work with https
How to reproduce the bug?
- Go to '...'
- Click on '....'
- Scroll down to '....'
- See error
Relevant log output
No response
Other details
I have set the Dynamic DNS on my router, and make xx.xx.org and other sub domain to my wan port on my router
and my 80 and 443 port is baned by ISP, so there are nothing if access my domain without Specify access port, I don't know if it will effect the cert.
and I want to access my other APPs by some sub domain using the reverse proxy
and the proxy option of cloudflare is off
my English is not really well, so sincerely thanks for reading it.
System details
I want to try cosmos ,so I run it on my VMware VM
system is Archlinux. type of network is bridge, so the VM have independent IP in my LAN
I deleted the data of cosmos-server, and redo the First Setup, and after some error like
[ERROR] LETSENCRYPT_OBTAIN : error: one or more domains had a problem:
[mydoamin.org] propagation: time limit exceeded: last error: NS ivan.ns.cloudflare.com. did not return the expected TXT record [fqdn: _acme-challenge.mydoamin.org., value: gVrjdRdF_qMxexgHIUYSt_EbJuGR1ZZv6f-gysefUWo]: prWtqvpzKkGc3zSsS761KJgev30JXw_wm92RNsj7M4A
it just worked.
maybe just because I set ip address as the hostname of cosmos-server. and although I change the hostname to my domain, it still use the ip address to request the SSL Cert.
maybe that's a issue. But I solve it by re-setup.