Need an SSL certificate to test a Java application without a domain name

I’m a tech writer. I need to test my instructions for installing a certificate in the server component of our platform.

It’s a Java application running in Oracle JDK 1.8. The server does not have a domain name, just an IP address. (That’s typical in customer installations as well.) The certificate won’t be used for any real work and the server will not be exposed to the public internet. I’ve tested with a self-signed certificate, but I’ve had feedback that there are different browser issues with authority-issued certificates.

My domain is: don’t have one

I ran this command: don’t know where to start

It produced this output: n/a

My web server is (include version): n/a

The operating system my web server runs on is (include version): OS X 10.15.4

My hosting provider, if applicable, is: n/a

I can login to a root shell on my machine (yes or no, or I don’t know): yes

I’m using a control panel to manage my site (no, or provide the name and version of the control panel): no

The version of my client is (e.g. output of certbot --version or certbot-auto --version if you’re using Certbot): n/a

Hi @rlauriston

Need an SSL certificate to test a Java application without a domain name

simple answer: That’s not possible.

Letsencrypt doesn’t allow ip addresses as domain names.

So if you want to use a public trusted certificate, a public, worldwide unique domain name is required.

Thanks. Is that true for all certificate authorities?

There are some certificates with ip addresses - see

But what’s the problem? There are some domain registrars you can get a free domain. Then you can create a certificate.

To test something, it’s enough.

Turns out I can get one cheap from my hosting provider. Thanks.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.