I'm new to setting up ssl certificate and csr, i want to use public ip instead domain name in ssl. i created a csr file using following command and info
openssl req -new -newkey rsa:2048 -nodes -keyout mydomain.key -out mydomain.csr Generating a 2048 bit RSA private key .....................+++ ...........................................+++ writing new private key to 'mydomain.key' ----- You are about to be asked to enter information that will be incorporated into your certificate request. What you are about to enter is what is called a Distinguished Name or a DN. There are quite a few fields but you can leave some blank For some fields there will be a default value, If you enter '.', the field will be left blank. ----- Country Name (2 letter code) [AU]:IN State or Province Name (full name) [Some-State]:Delhi Locality Name (eg, city) :Delhi Organization Name (eg, company) [Internet Widgits Pty Ltd]:MyComp ITES pvt ltd Organizational Unit Name (eg, section) :chatapp Common Name (e.g. server FQDN or YOUR name) :126.96.36.199(Elastic IP) Email Address :firstname.lastname@example.org Please enter the following 'extra' attributes to be sent with your certificate request A challenge password : An optional company name :
this command generating two file
i copy all the text from mydomain.csr and paste into godaddy Certificate Signing Request (CSR) but it giving me error
Public IP addresses are not allowed.
can any one help me whats wrong with me and how can fix this error.