[prev in list] [next in list] [prev in thread] [next in thread]
List: php-general
Subject: Re: help with SSL access within PHP
From: Wesley Peng <westley.peng () gmail ! com>
Date: 2020-06-02 9:57:48
Message-ID: CAEsfSa3ZreMV57vRrX40f2H4d1tqmHDoVf6=jm86eEZa82n1fg () mail ! gmail ! com
[Download RAW message or body]
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.
> >
>
[Attachment #3 (text/html)]
<div>Thanks, I'll check it out.</div><div><br><div class="gmail_quote"><div \
dir="ltr" class="gmail_attr">On Tue, Jun 2, 2020 at 5:13 PM Jānis Elmeris <<a \
href="mailto:janis.elmeris@lv.lv">janis.elmeris@lv.lv</a>> \
wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 \
.8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Maybe this can \
help: <a href="https://www.namecheap.com/support/knowledgebase/article.aspx/10228/14/sectigo-root-certificate-expiring-may-30-2020/" \
target="_blank">https://www.namecheap.com/support/knowledgebase/article.aspx/10228/14/ \
sectigo-root-certificate-expiring-may-30-2020/</a></div><div><br></div><div>Janis<br></div></div><br><div \
class="gmail_quote"><div dir="ltr" class="gmail_attr">otrd., 2020. g. 2. jūn., \
plkst. 12:07 — lietotājs Wesley Peng (<<a \
href="mailto:westley.peng@gmail.com" target="_blank">westley.peng@gmail.com</a>>) \
rakstīja:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px \
0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi<br> <br>
I run the command below failed:<br>
<br>
$ echo 'fsockopen("tls://<a href="http://mail.sample.com" rel="noreferrer" \
target="_blank">mail.sample.com</a>",993,$errno,$errmsg,15);'|php -a<br> \
Interactive mode enabled<br> <br>
PHP Warning: fsockopen(): Failed to enable crypto in php shell code on <br>
line 1<br>
PHP Warning: fsockopen(): unable to connect to <br>
tls://<a href="http://mail.sample.com:993" rel="noreferrer" \
target="_blank">mail.sample.com:993</a> (Unknown error) in php shell code on line \
1<br> <br>
<a href="http://mail.sample.com" rel="noreferrer" target="_blank">mail.sample.com</a> \
is my mailserver domain, who has regular FQDN and SSL certs.<br> <br>
But this worked just few days ago, it doesn't work this day until I <br>
found it.<br>
<br>
PHP version:<br>
<br>
$ php -v<br>
PHP 7.0.33-0ubuntu0.16.04.15 (cli) ( NTS )<br>
Copyright (c) 1997-2017 The PHP Group<br>
Zend Engine v3.0.0, Copyright (c) 1998-2017 Zend Technologies<br>
with Zend OPcache v7.0.33-0ubuntu0.16.04.15, Copyright (c) <br>
1999-2017, by Zend Technologies<br>
<br>
<br>
Can you help? Thanks.<br>
</blockquote></div>
</blockquote></div></div>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic