komuw / ong

ong, is a Go http toolkit.
MIT License
16 stars 4 forks source link

ong/acme: dont request certificate for IP address. #305

Closed komuw closed 1 year ago

komuw commented 1 year ago
{
  "time": "2023-07-03T18:42:27.313814871Z",
  "level": "ERROR",
  "source": {
    "function": "net/http.(*Server).logf",
    "file": "/usr/local/go/src/net/http/server.go",
    "line": 3215
  },
  "msg": "http: TLS handshake error from 94.102.61.70:45146: ong/server: failed to get certificate from ACME. 
    acmeDirectoryUrl=https://acme-v02.api.letsencrypt.org/directory, 
    domain=*.dushed.com, 
    tls.ClientHelloInfo.ServerName=167.99.241.121, : 
    ong/acme: order creation failed: 
    {
      type: urn:ietf:params:acme:error:rejectedIdentifier, 
      detail:Error creating new order :: Cannot issue for \"167.99.241.121\": 
      The ACME server can not issue a certificate for an IP  address
    }",
  "logID": "r8DQrMx2C7gYP3jf",
  "pid": 145225,
  "env": "production",
  "ver": "4b6d9807",
  "logID": "r8DQrMx2C7gYP3jf"
}