=?gb18030?b?u9i4tKO6IFtQSFBdIHRoZSBmdW5jdGlvbiBvcGVu?==?gb18030?b?c3NsX2dldF9wdWJsaWNrZXkoKSAncyByZXN1bHQg?==?gb18030?b?aXMgZGlmZXJyZW50ICAgaW4gcGhwIDcgYW5kICBw?==?gb18030?b?aHA1LiA2LjE2IGFuZCBwaHA1LjUuMTIgPz8/PyBz?==?gb18030?b?byAgd2hhdCBpcyB3cm9uZz8/Pz8/?=

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

 



oh sorry ,get that , so how to check the openssl error message , i have checked the php error log file ,but nothing get ....




------------------ 原始邮件 ------------------
发件人: "Frank Arensmeier"<farensmeier@xxxxxxxxx>; 
发送时间: 2016年3月16日(星期三) 晚上6:57
收件人: "php-general"<php-general@xxxxxxxxxxxxx>; 
抄送: "v-LeonHou"<764436364@xxxxxx>; 
主题: Re: [PHP] the function openssl_get_publickey() 's result is diferrent   in php 7 and  php5. 6.16 and php5.5.12 ???? so  what is wrong?????




16 mar 2016 kl. 11:50 skrev v-LeonHou <764436364@xxxxxx>:


yeah i have read that before ,but  i am using the X.509 style public key ........


> 16 mar 2016 kl. 11:29 skrev v-LeonHou <764436364@xxxxxx>:
> 
> hi everyone,
> 
> today i meet a strange  while the function openssl_get_publickey()  runs well in php 7 while report an error in php5. 6.16 and php5.5.12
> 
Hi.

What type of public key are you using? The OpenSSL implementation seems to have some issues with PKCS#1 RSA public keys. Please read the user comment about openssl_get_publickey about this issue (http://php.net/manual/en/function.openssl-pkey-get-public.php#101513).

I strongly suggest to have a look at the error message from OpenSSL (openssl_error_string).

/frank




Please don’t top post. That makes it hard for others to follow this conversation.


Do you get any error messages from OpenSSL?


/frank

[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