Jump to content

OpenSSL error


messier79

Recommended Posts

Hi

 

I develop a system using OPenSSL for Rijndael-256 (RSA-256) encryption. It works weel on an Apache server with PHP 5.3.2 on Windows and on a Linux server.

But, on a Mac, I experience a weird problem.

When I send a block to be decrypted, it works some times, and, without any reason, it stops and stays blocked for a while. And suddenly, it works again.

When it crashes, I have the error message :

 

Wrong request for connection error:0906D06C:PEM routines:PEM_read_bio:no start line

 

I searched on Google and couldn't really find any solution. I read it seemed to be related to the keys format.

The public key used for encryption is like :

-----BEGIN PUBLIC KEY-----
...
-----END PUBLIC KEY-----

 

And the private is like :

-----BEGIN RSA PRIVATE KEY-----
...
-----END RSA PRIVATE KEY-----

 

Has anybody met that problem before and/or know where it comes from and how to fix it ?

 

Thanks

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.