SSL Error: no alternative certificate subject name matches target host name

Limited Time Offer!

For Less Than the Cost of a Starbucks Coffee, Access All DevOpsSchool Videos on YouTube Unlimitedly.
Master DevOps, SRE, DevSecOps Skills!

Enroll Now

Error

ERROR: cURL error 51: SSL: no alternative certificate subject name matches target host name ‘www.myhospitalnow.com’ (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) {“exception”:”[object] (GuzzleHttp\\Exception\\RequestException(code: 0): cURL error 51: SSL: no alternative certificate subject name matches target host name ‘myhospitalnow.com’ (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) at /opt/lampp/htdocs/myhospitalnow/mhn-admin-ms/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php:201

Solution

go to .env file and check this

wrong

This is right

only mistake www.

Subscribe
Notify of
guest

This site uses Akismet to reduce spam. Learn how your comment data is processed.

0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x