Author Topic: SSL for an IP  (Read 29 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
SSL for an IP
« on: June 05, 2026, 03:20:15 PM »
I was having problem setting up Shoutcast with AutoDJ on CWP. AutoDJ just won't install. It used to work for many years. Reinstalled the OS and tried so many times and gave up.
Figured out a way to install Shoutcast on its own with AutoDJ without CWP and it is working great. Then installed CWP and got the SSL for domain and now shoutcast stream work great with SSL.
Problem: Shoutcast directory lists only IP and I was able to get a Letsencrypt SSL for IP using certbot. But CWP doesn't do that. And certbot may break the acme.sh in CWP if installed on the server.
So, is there a way to get a SSL cert for IP for the server running CWP?
Thanks

Offline
***
Re: SSL for an IP
« Reply #1 on: June 06, 2026, 10:43:57 PM »
I never requested an SSL certificate for the IP address. However, Certbot and ACME.sh work the same way. They simply send a certificate request to the certificate authority (CA). The CA then verifies that you are the administrator of the IP address or domain name using an HTTP or DNS challenge and issues the certificate if the validation is successful.

Seems you just need to use the "shortlived" profile:
https://letsencrypt.org/2026/01/15/6day-and-ip-general-availability
see "--cert-profile" of ACME.sh and use HTTP-01 acme challenge for verification.

So the command to request such SSL should be:

Code: [Select]
acme.sh --issue \
  --server letsencrypt \
  --cert-profile shortlived \
  --days 3 \
  -d your.ip.address.here \
  -w /document/root/

you can test it by adding "--test"