Title: https_local_ssl_verify true causes curl error
Last modified: August 21, 2016

---

# https_local_ssl_verify true causes curl error

 *  [poddys](https://wordpress.org/support/users/poddys/)
 * (@poddys)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/https_local_ssl_verify-true-causes-curl-error/)
 * Some of our site pages take forever to load then fail with a curl error.
    A code
   trace shows that this is due to a check to see if ssl is active, and this returns
   true, when in fact we do not have ssl defined on our server. The problem appears
   to be in wp-admin/admin-ajax.php which uses https_local_ssl_verify which for 
   some reason returns true. Not sure why, but this causes a 10 second wait before
   we get the curl error.
 * I have been reading a lot about applying filters to set this to false, but am
   not exactly sure what to change, and if possible I would prefer to use a plugin
   or other method rather than modifying core WP files.
 * Obviously a 10 second delay is causing a HUGE impact on anything that we do, 
   but only (as far as I can see) when logged in as an administrator.
 * Just wondering what the best method is to get around this.

Viewing 1 replies (of 1 total)

 *  Thread Starter [poddys](https://wordpress.org/support/users/poddys/)
 * (@poddys)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/https_local_ssl_verify-true-causes-curl-error/#post-4771637)
 * Following up on this problem, I have been investigating another error which appears
   when WP checks for updates. It seems that if Curl is active, WP assumes that 
   the server has SSL.
 * Our server DOES NOT have SSL active, which is possibly why these Curls are giving
   problems.
 * I posted a new thread here wordpress.org/support/topic/wordpress-could-not-establish-
   a-secure-connection-to-wordpressorg-6 related to the other problem, and I believe
   if the problem with WP assuming that SSL is active when Curl is active will fix
   our Curl timeouts as well.

Viewing 1 replies (of 1 total)

The topic ‘https_local_ssl_verify true causes curl error’ is closed to new replies.

## Tags

 * [curl](https://wordpress.org/support/topic-tag/curl/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 1 participant
 * Last reply from: [poddys](https://wordpress.org/support/users/poddys/)
 * Last activity: [12 years, 1 month ago](https://wordpress.org/support/topic/https_local_ssl_verify-true-causes-curl-error/#post-4771637)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
