Hi,
Why you think it's wrong?
After that you have to create a CSR (certificate request based on this key) and create the certificate. When creating the CSR pay attention to the Common Name (CN). It must match your server name. The commands you have to use, are:
Code:
openssl req -new -key server.key -out server.csr
openssl x509 -req -days 365 -in server.csr -signkey server.key -out server.crt
To verify the certificate you can run:
Code:
openssl verify server.crt
Regards