Unable to verify the first certificate and showing port 80 instead of 443.

Scarif

New member
Joined
Apr 20, 2019
Messages
1
Hi,

I have a problem with installing my certificates that i bought online. I've added 3 domains to my directadmin:

- scarif.dev (installed the wildcard private key + certificate + CA root certificate)
- api.scarif.dev (installed the wildcard private key + certificate)
- login.scarif.dev (installed the wildcard private key + certificate)

Yet when I use the following commands on my command line:
openssl s_client -showcerts -connect api.scarif.dev:443

I get this result:
"unable to verify the first certificate"

But in my browser it's all good. But when I try requesting something from api.scarif.dev through postman or guzzle, It gives me an error and sends me to port :80 instead of :443.

What am I doing wrong??

Thanks in advance,

Geoffrey
 
Back
Top