Re: the function openssl_get_publickey() 's result is diferrent in php 7 and php5. 6.16 and php5.5.12 ???? so what is wrong?????

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

 



> 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