I had the same problem – I was fetching a page from my own site, which was served over HTTPS, but curl was giving the same “SSL certificate problem” message. I worked around it by adding a -k
flag to the call to allow insecure connections.
curl -k https://whatever.com/script.php
Edit: I discovered the root of the problem. I was using an SSL certificate (from StartSSL, but I don’t think that matters much) and hadn’t set up the intermediate certificate properly. If you’re having the same problem as user1270392 above, it’s probably a good idea to test your SSL cert and fix any issues with it before resorting to the curl -k
fix.
Related Posts:
- How to send user data from one website to another
- Curl command for https ( SSL )
- How to generate a self-signed SSL certificate using OpenSSL?
- Convert .pem to .crt and .key
- Simple Java HTTPS server
- HTTPS connection Python
- Java: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
- SSL_ERROR_BAD_CERT_DOMAIN
- What exactly is cacert.pem for?
- OpenSSL: unable to verify the first certificate for Experian URL
- SSL CA cert (path? access rights?)
- How to disable cURL SSL certificate verification
- Getting error in Curl – Peer certificate cannot be authenticated with known CA certificates
- Issues with installing python libraries on Windows : CondaHTTPError: HTTP 000 CONNECTION FAILED for url
- Is it safe to use sslverify => true for with wp_remote_get/wp_remote_post
- Local version of a WordPress site – SSL/HTTPS enforced?
- bloginfo() and get_template_directory_uri() with SSL?
- After updating site to use SSL all images in posts point to http://
- Adding https to wordpress website
- SSL setup: wp-login css doesn’t load over httpS
- In WP versions >= 4.0, is FORCE_SSL_LOGIN forcing HTTPS for the entire admin session?
- Occasional HTTPS Mixed Content Warning
- Divert http to https with WordPress on IIS
- WordPress : To load all asset files coming from HTTP to HTTPS?
- I changed my site from HTTPS back to HTTP and now it is broken- Cannot access Admin panel on HTTP URL
- un-loading https
- WordPress site shows “File not found.” if opened through https
- Address a single page to SSL https secure protocol?
- wordpress http to https windows server
- Jetpack “Connect to WordPress” serving insecure content under HTTPS
- Allow non-SSL pages to use https or Force non-SSL pages to http?
- Website access with http and https
- Need ideas for HTTPS multiple domain solution
- How to control SSL in WordPress for automatically changing http to https?
- All content is HTTPS, but browsers warn of HTTP mixed content [closed]
- How do I handle SSL properly when WP is behind a reverse proxy?
- Hi do I change Media files that still show as http after installing ssl
- ERR_TOO_MANY_REDIRECTS on wordpress page [closed]
- URLs not being output with https
- Website Migration (with https) to a new domain(http)
- How to move my local wordpress to https?
- Why does WordPress uses HTTPS for JS, CSS on EC2
- Implications of not completing all tasks when switching to HTTPS
- SSL Certificate
- Front-end pages messed up due to HTTPS
- How come all my http URLs are turned to https?
- Forcing SSL (Bad Theme coding)
- How to switch static files back to using HTTP instead of HTTPS?
- My WordPress site SSL is in red crossed color and can’t load at first time?
- SSL/HTTPS Redirect Loop
- The plain HTTP request was sent to HTTPS port in wordpress [closed]
- iHow to redirect all http traffic to https now that a SSL certificate is added?
- How to force static assets with HTTP sources to load over HTTPS?
- Moving WordPress from http to https over existing site
- Displaying a remote SSL certificate details using CLI tools
- Wildcard SSL certificate for second-level subdomain
- Properly setting up a “default” nginx server for https
- Changing my URL in General Settings cause the site to crash
- wordpress is auto using http: not https: as it needs to because the server is http behind a reverse proxy https, how do I stop it?
- SSL Error: unable to get local issuer certificate
- When you use ‘badidea’ or ‘thisisunsafe’ to bypass a Chrome certificate/HSTS error, does it only apply for the current site? [closed]
- When you use ‘badidea’ or ‘thisisunsafe’ to bypass a Chrome certificate/HSTS error, does it only apply for the current site? [closed]
- curl: (60) SSL certificate problem: unable to get local issuer certificate
- cURL error 60: SSL certificate: unable to get local issuer certificate
- WordPress wp-admin https redirect loop
- Howto force SSL for all requests?
- SSL breaks customizer: page isn’t returned from ajax
- WordPress is Inserting images into Post as HTTP and not HTTPS
- Serve HTTPS requests from subdomain
- WordPress Move to SSL How to Update Media Assets to HTTPS?
- Add New Sub Site from the WordPress back end then in sub site options table option_value must be with https
- Make default new sites https (multisite)
- I am locked out of my WordPress site after changing site URL from Http to Https
- Enabling SSL on wordpress results in 404
- Locked out of WordPress Site Admin after enabling Force SSL on WordPress Https (SSL)
- SSL: How to make customizer images Protocol Relative in WordPress?
- https multiple redirects
- How to properly force https and www on multisite with Apache HTAccess
- AJAX requests broken due to HTTPS for wp-admin
- SSL Certificate and WordPress
- Https Redirect infinite loop in Mobile browsers
- 403 error on admin login page
- XML asset fails to load using https
- Certain header elements not served over https
- Images loading over http instead of https
- WordPress 4.0 Forces entire site into SSL
- How to get Caching Plug-ins to work on localhost with HTTPS?
- Disable WordPress accessing WordPress.org to check for updates
- How to protect login via SSL but not the rest of the dashboard
- The REST API request failed due to an error. cURL error 60: SSL certificate problem: certificate has expired
- Problem forcing San SSL certificate on WordPress
- Create a new hyperlink to wordpress blog
- Core update of 4.2.3 changes all link to https [duplicate]
- WordPress and SSL
- Access wordpress pages using a self signed shared ssl
- ‘Too many redirects’ error after changing site URL in WordPress [closed]
- Generate all urls with https
- Issue when site move from ssl domain to new domain without ssl
- Does each server behind a load balancer need their own SSL certificate?
- How to force HTTP and stop SSL completey on WordPress website