Fix issue with SSL Certificate
Budget: ₹600 – ₹5,000 INR
Hello
I need help fixing an issue with SSL certificate.
When I open https://val-ehealthexchange.trovehealth.io/api/v1/patient_discovery
I am getting Certificate that is not valid. However, a certificate is valid. Not sure what i am missing
Following steps I performed
1) Generated csr along with Private key and shared CSR with Certifcate Authority to get .cert file
2) I converted Privatekey.key to Privatekey.Pem using commend:
openssl rsa -in Privatekey.key -text > Privatekey.pem
3) I converted cert file to pem file
openssl x509 -inform DER -in my.crt -out my.pem -text
Then created ngnix config
server {
listen 80;
server_name val-ehealthexchange.trovehealth.io;
# Redirect all HTTP requests to HTTPS
return 301 https://$host$request_uri;
}
server {
listen 443 ssl;
server_name val-ehealthexchange.trovehealth.io;
ssl_certificate /home/ubuntu/Certificate/my.pem;
ssl_certificate_key /home/ubuntu/Certificate/Privatekey.pem;
location /api/ {
proxy_pass http://127.0.0.1:3000;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
}
}
When I open https://val-ehealthexchange.trovehealth.io/api/v1/patient_discovery
I am getting Certificate is not valid. However, certificate is valid. Not sure what i am missing
I need help fixing an issue with SSL certificate.
When I open https://val-ehealthexchange.trovehealth.io/api/v1/patient_discovery
I am getting Certificate that is not valid. However, a certificate is valid. Not sure what i am missing
Following steps I performed
1) Generated csr along with Private key and shared CSR with Certifcate Authority to get .cert file
2) I converted Privatekey.key to Privatekey.Pem using commend:
openssl rsa -in Privatekey.key -text > Privatekey.pem
3) I converted cert file to pem file
openssl x509 -inform DER -in my.crt -out my.pem -text
Then created ngnix config
server {
listen 80;
server_name val-ehealthexchange.trovehealth.io;
# Redirect all HTTP requests to HTTPS
return 301 https://$host$request_uri;
}
server {
listen 443 ssl;
server_name val-ehealthexchange.trovehealth.io;
ssl_certificate /home/ubuntu/Certificate/my.pem;
ssl_certificate_key /home/ubuntu/Certificate/Privatekey.pem;
location /api/ {
proxy_pass http://127.0.0.1:3000;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
}
}
When I open https://val-ehealthexchange.trovehealth.io/api/v1/patient_discovery
I am getting Certificate is not valid. However, certificate is valid. Not sure what i am missing