Re: help with SSL access within PHP
| From: | Wesley Peng | Date: | Tue, 02 Jun 2020 09:57:48 +0000 |
| Subject: | Re: help with SSL access within PHP | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-327184@lists.php.net to get a copy of this message | ||
Thanks, I'll check it out.
On Tue, Jun 2, 2020 at 5:13 PM Jānis Elmeris <janis.elmeris@lv.lv> wrote:
> Maybe this can help:
>
> https://www.namecheap.com/support/knowledgebase/article.aspx/10228/14/sectigo-root-certificate-expiring-may-30-2020/
>
> Janis
>
> otrd., 2020. g. 2. jūn., plkst. 12:07 — lietotājs Wesley Peng (<
> westley.peng@gmail.com>) rakstīja:
>
>> Hi
>>
>> I run the command below failed:
>>
>> $ echo 'fsockopen("tls://mail.sample.com",993,$errno,$errmsg,15);'|php
>> -a
>> Interactive mode enabled
>>
>> PHP Warning: fsockopen(): Failed to enable crypto in php shell code on
>> line 1
>> PHP Warning: fsockopen(): unable to connect to
>> tls://mail.sample.com:993 (Unknown error) in php shell code on line 1
>>
>> mail.sample.com is my mailserver domain, who has regular FQDN and SSL
>> certs.
>>
>> But this worked just few days ago, it doesn't work this day until I
>> found it.
>>
>> PHP version:
>>
>> $ php -v
>> PHP 7.0.33-0ubuntu0.16.04.15 (cli) ( NTS )
>> Copyright (c) 1997-2017 The PHP Group
>> Zend Engine v3.0.0, Copyright (c) 1998-2017 Zend Technologies
>> with Zend OPcache v7.0.33-0ubuntu0.16.04.15, Copyright (c)
>> 1999-2017, by Zend Technologies
>>
>>
>> Can you help? Thanks.
>>
>