i have openssl 1.0.2 in that where i can get the server.key,server.crt file paths ?
The openssl command generates those files. There are a lot of ways to generate the private key and certificate, and we don't cover how to do it in our documentation. But this site gives the openssl commands you can run to generate those files: Creating a Self-Signed SSL Certificate | Heroku Dev Center
To summarize it:
- Generate a private key:
openssl genrsa -des3 -passout pass:x -out server.pass.key 2048
openssl rsa -passin pass:x -in server.pass.key -out server.key
- Generate a certificate signing request:
openssl req -new -key server.key -out server.csr
- Generate an SSL certificate:
openssl x509 -req -sha256 -days 365 -in server.csr -signkey server.key -out server.crt