ipcert - acmesh-official/acme.sh GitHub Wiki

Just use the ip address as the -d parameter:

acme.sh  --issue  -d 1.1.1.1  -w /etc/apache/xxxxxx

As the rfc 8738 requires: https://tools.ietf.org/html/rfc8738

The ip address can not be validated by dns methods. Only http/webroot and alpn methods are allowed.