0

I developed an API with Laravel which runs perfectly on localhost/endpoint but as soon as I uploaded on the server. I received an error on openssl_verify(): Don't know how to get public key from this private key

Please, what could be wrong? I read it could be PHP settings on the production server. What do I need to do to it

enter image description here

This is the image of the one on the local Server

enter image description here

Payne
  • 543
  • 2
  • 12
  • 32
  • Possible duplicate of [Issues with OpenSSL on PHP - different behaviour for different versions](https://stackoverflow.com/questions/11399613/issues-with-openssl-on-php-different-behaviour-for-different-versions) – Styx Apr 08 '19 at 21:24
  • Thanks he is talking about .dll, I am on Mac – Payne Apr 08 '19 at 21:47
  • I don't think it matters. Try to use the same version of openssl on both systems. – Styx Apr 08 '19 at 22:21

0 Answers0