Re: help with SSL access within PHP

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx>) 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.

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux