Obtaining A Certficate for an I.P. Address

Please fill out the fields below so we can help you better. Note: you must provide your domain name to get help. Domain names for issued certificates are all made public in Certificate Transparency logs (e.g. crt.sh | example.com), so withholding your domain name here does not increase secrecy, but only makes it harder for us to provide help.

My domain is:www.unpredictableporridge.co.uk

I ran this command: N/A

It produced this output: N/A

My web server is (include version): Apache 2.4*

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

My hosting provider, if applicable, is:Self-Hosted.

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):

Thanks to the advice given here, have successfully managed to obtain a certificate and install on the server, so have a secure Website, thanks for your help with that.

However, still having difficulties with Chrome! There are two audio streams, which are accessed via a Static I.P. address, which Chrome won't load as they are seen as insecure.

Was suggested that I use D.N.S. to create 'A' and 'NS' records to create a Sub Domain, which I believe I did - stream.unpredictableporridge.co.uk, however while I did obtain a certificate for this, received an error message in Chrome that stated the Domain name on the Certificate had not found.

Your help would be greatly appreciated.

Cheers.

1 Like

Let's Encrypt does not issue certs for IP addresses.

5 Likes

if you got a certificate for a domain you should connect by that domain name

4 Likes

Do realise that, but have to find out how to 'convert' the I.P. address into a Domain?!

The radio player, which streams the Music on the Website doesn't allow that, only via I.P. address, which is what Chrome sees, and tries to load.

that redirect everything at http://someip to https://stream.unpredictableporridge.co.uk ?

4 Likes

Not sure I quite understand what you mean?

If you meah re-direct all requests to the I.P. address to https://stream.unpredictableporridge.co.uk, would not that cause other problems for the Website?

Also, how would I implement that?

Should have mentioned before, the Website runs on WordPress.

Hope the above helps?!

DNS points names to IP addresses, then all users use the name instead of the IP address, that's how the internet works.

5 Likes

Yes, am aware of that, but Chrome is only seeing the I.P. address on the Website, so would load the stream?!

I think that would be very weird. What radio player are we talking about?

3 Likes

Okay, the player has a back-end that points to the the stream using an I.P. address and extension, so for SHOUTcast this would be: http://1.2.3.4:8002/pls, and this is the address which Chrome sees.

The player is known as A.I.O. Radio Player, here is a link for the documenation for the software: AIO Radio Station Player (by Prahec) :: Documentation

Cheers.

And you can't "point" (what does that even mean?) that back-end to a hostname?

The documentation of that AIO Radio Player only mentions hostnames in their code examples.

4 Likes

Have just checked, just in case, but have tried doing so before.

Tried using both http and https:// prefix with www.Domain.co.uk/stream extension, and the player shows an error message, asking a correct U.R.L. to be entered.

When entering the I.P. address, the player accepts this!

Do you actually have a DNS record setup to point to that IP?

4 Likes

Yes, the D.N.S is working fine, and pointing to the I.P. address.

Suppose I should point out for clarfication, that the radio player does and is working fine, but not when using Chrome, no doubt due to their latest upgrade, and the player documentation does mention this.

Are these IP addresses globally reachable, including the hostnames?

I'd really want to see a working example, so I could check for myself. Its very hard to advice with just "I tried, but it didn't work" without having actually something useful at hand

4 Likes

As far as I am aware, yes they are.

As previously stated, the player does work well, using Firefox and I.E., but not Chrome.

Regarding a "working example", if you like, can message you the link to the back-end of the player, and change the admin and password, so you can login.

Would that help?!

That would, I think, help indeed, at least to see what we're actually dealing with.

That said, I still don't know what is meant by "back-end".. Isn't the player a webbased application? It's the browser that's complaining, right?

3 Likes

Osiris, Have messaged you.!

1 Like