• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Issue curl: (60) SSL: no alternative certificate subject name matches target host name

manojo

New Pleskian
Server operating system version
Ubuntu 22.04
Plesk version and microupdate number
18.0.60.1
Product version: Plesk Obsidian 18.0.60.1
OS version: Ubuntu 22.04 x86_64
Build date: 2024/04/21 18:00
Revision: fb95e147edf43efc98862c72507bfe703444b441

Server: Amazon LightSail

Issue: I cant CURL my api server that is hosted in the same server under different domain
1717196633964.png


What I did so far:

- Disabled the expired DST CA X3 root certificate. (Cert wasnt there) Resolved - cURL from PHP gives error 60
- Tried to curl from many other servers I own (Also localhost) And everything is working
- Reinstalled the certificate from the subdomain (Lets Encrypt) several times.
- Added TXT Registry to the api domain as additional step of installing certificate
- tried curl with -k flag, I could access the server but with a redirection message (http went forced to https, and I dont want run curl on http so this is not an option)
- Tried to install https://curl.haxx.se/ca/cacert.pem file into /etc/ssl/certs/
- Updated and upgraded the certs with the command `sudo update-ca-certificates --fresh` and got this warning message:
1717199461663.png

Any help will be appreciated. I just want to CURL my server
 
"no alternative certificate subject name matched", sounds strange, what about...
Code:
curl -vsl -o /dev/null https://apidev.[...]
[...]
subjectAltName: host "apidev.[...]" matched cert's "apidev.[...]"
 
Back
Top