My client has an Ubuntu server hosted by Digital Ocean. The server has no domain name, we access it via the public IP address. They want to start using https and provided me with a SSL certificate from GoDaddy.com. I need to provide GoDaddy with a CSR to set up the SSL certificate.
My attempt to create a CSR and private key on the server:
openssl req -x509 -newkey rsa:4096 -keyout key.pem -out cert.pem -days 365
The problem is I have nothing to put for the Common Name (eg, fully qualified host name) []:
prompt. Is it ok to simply put the IP address instead?
While researching this, I have come across Subject Alternative Names (SAN) that can specify IP addresses, but I'm not sure how to add that to the CSR.
Do I need to tell my client they should get a domain name?