You are here: PHP & Openssl « PHP Programming Language « IT news, forums, messages
PHP & Openssl

Posted by bozzzza@lycos.co.uk on 01/12/06 16:01

I have installed PHP, and the OPENSSL extension.

The phpinfo() page confirms it is working :
OpenSSL support enabled
OpenSSL Version OpenSSL 0.9.8a 11 Oct 2005

I am using PHP Version 5.1.1

I am getting problems accessing https: pages through PHP

e.g.

<?
$url = 'https://localhost/test2.html';
$fp = fopen($url, 'r');
?>

I get a "failed to create an SSL context" error; followed by a "Failed
to enable crypto" error.

Obvouisly the web page works ok in a client browser, and I have checked
I can access it with openssl using the s_client command.

I am running it through IIS on WindowsXP SP2. The root certificate on
my local web server is signed by our windows2003 server (Do need to add
the root certificate into openssl?)

What am I doing wrong?

TIA

Simon

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация