I am creating a webapp that I intend to be only accessible through its ip and port. It will be accessed externally.
e.g. xxx.xxx.xxx.xxx:8888
I want to enable SSL on the website, is it possible without a domain name?
I am creating a webapp that I intend to be only accessible through its ip and port. It will be accessed externally.
e.g. xxx.xxx.xxx.xxx:8888
I want to enable SSL on the website, is it possible without a domain name?
Having the common name be an IP instead of a DNS name is technically allowed, but I don't think I've ever seen it implemented. If you're making the cert yourself, it should work. If you're having one purchased from a third party, you might have a tough time.
Why wouldnt you just use a DNS name for the server instead? I wouldn't type any info into a site that was only an IP, SSL or not.
Yes, and the name does not even have to match, provided your users accept the certificate.
You might be interested in this answer on StackOverflow.
From RFC 2818 (Section 3.1) (HTTPS/HTTP over TLS):
This means that, for an IP address to work, it needs to be in an Subject Alternative Name entry of type IP address. Unlike with host names, where SANs are preferred but it can fall back on the CN in the Subject DN, the SAN entry is not optional when using an IP address. (This being said, some browsers might be a bit flexible when it comes to implementing that rule.)