# SSL operation failed with code 1

**URL:** <https://community.localwp.com/t/ssl-operation-failed-with-code-1/35302>\
**Category:** Support\
**Tags:** mac, ssl-certificates\
**Created:** [January 27, 2023, 4:16pm UTC](https://community.localwp.com/t/ssl-operation-failed-with-code-1/35302 "2023-01-27T16:16:09Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Troglos](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/troglos/32/1491_2.png) [@Troglos](https://community.localwp.com/u/Troglos)\
**Post date:** [January 27, 2023, 4:16pm UTC](https://community.localwp.com/t/ssl-operation-failed-with-code-1/35302/1 "2023-01-27T16:16:09Z")

</div>

The certificate works, but I am still struggling with this error:

Warning: getimagesize(): SSL operation failed with code 1. OpenSSL Error messages:  
error:1416F086:SSL routines:tls\_process\_server\_certificate:certificate verify failed

This happens for all sites in Local, with any server (nginx, Apache) and recent php version (7.4 and 8.19)

Local 6.6.0 on macOS Monterey

No track of this issue found in the log file

---

<div class="post-metadata">

**Author:** ![Nick-B](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/nick-b/32/16140_2.png) [@Nick-B](https://community.localwp.com/u/Nick-B)\
**Post date:** [February 4, 2023, 4:03pm UTC](https://community.localwp.com/t/ssl-operation-failed-with-code-1/35302/2 "2023-02-04T16:03:53Z")

</div>

Hi @Troglos

There are some good troubleshooting steps on this thread below that might help you:

> [@Getting a file\_get\_contents and Curl not activated error](http://community.localwp.com/t/getting-a-file-get-contents-and-curl-not-activated-error/21310/21):
>
> I’m using Local 5.6.10, forgot to mention that.

---

<div class="post-metadata">

**Author:** ![Troglos](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/troglos/32/1491_2.png) [@Troglos](https://community.localwp.com/u/Troglos)\
**Post date:** [February 6, 2023, 4:32pm UTC](https://community.localwp.com/t/ssl-operation-failed-with-code-1/35302/3 "2023-02-06T16:32:56Z")

</div>

Thank you Nick for the tips.  
Unfortunately none of those helped me to solve to problem.  
I tried to update the php 7.4.30 and 8.0.22 following this post [How can I manually update downloadable Lightning Services?](http://community.localwp.com/t/how-can-i-manually-update-downloadable-lightning-services/21149) but nothing changed, still issues with getimagesize()

---

<div class="post-metadata">

**Author:** ![system](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/system/32/1_2.png) [@system](https://community.localwp.com/u/system)\
**Post date:** [May 7, 2023, 4:33pm UTC](https://community.localwp.com/t/ssl-operation-failed-with-code-1/35302/4 "2023-05-07T16:33:47Z")

</div>

Closed on May 7, 2023, 4:33pm UTC

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
