Re: Converting DER format private key to PEM

2000-04-28 Thread Andrew Griffin
Many thanks all who responded Andy Jiri Holinek wrote: > > I am trying to load a private key in DER format using > > RSA_usePrivateKeyFile without success. > I use this technique for load private key from file. > > unsigned char Buffer[2048], *a; > i/* 2048 is enough to store 1024 bit key */ >

Converting DER format private key to PEM

2000-04-27 Thread Andrew Griffin
Dear all, I am trying to load a private key in DER format using RSA_usePrivateKeyFile without success. Is there a utility or segment of code somewhere that I can use to convert the DER format to PEM format as that seems to work fine. I'm using OpenSSL 0.9.5 on Digital Tru64 Unix many thanks An

Re: HTTP POST with SSL

2000-03-16 Thread Andrew Griffin
Don't put the \r\n on the last line. Andy Peter Sylvester wrote: > > > > Karl, > > > > I written following code for HTTP POST with SSL, but it is not working can > > you tell me why? > > I am not getting any response from web server. > > > > POST /cgi-bin/cs_intf/validate.exe HTTP/1.1 > > Conte

SUCCESS

2000-03-01 Thread Andrew Griffin
Just to report that openSSL-0.9.5 built and tested (make test) cleanly on a Digital Alpha Unix Platform OS rev 4.0E Andy. begin:vcard n:Griffin;Andrew tel;home:0018 9722935 tel;work:0118 9245580 x-mozilla-html:FALSE org:http://www.freenetpages.co.uk/hp/griffina/Sawicon.gif> adr:;; version:

Re: PKCS#8 to OpenSSL format

1999-11-22 Thread Andrew Griffin
Many thanks, I have attached the private key file. The password used when creating was 'oraclekey'. thanks again Andy Griffin Dr Stephen Henson wrote: > Andrew Griffin wrote: > > > > > > I have a similar problem and would be willing to send you the private &

Some questions

1999-11-11 Thread Andrew Griffin
Hi, As you may have guessed from previous mails I am new to openSSL. Could anyone spare a few moments to check my understanding of the following. I am writing some client code which will sent requests via SSL. 1) I use SSL_CTX_use_certificate_file to load my digitally signed public key. The ser

peer did not return a certificate

1999-11-09 Thread Andrew Griffin
Help! I am trying to get an Apache Server with OpenSSL to validate a client certificate. I have created a client application which succussfully validates the server certificate but cannot get the server to sucessfully validate a client certificate when SSLVerifyClient is set to require. I used

Re: Creating own Certificate Authority.

1999-11-09 Thread Andrew Griffin
certificate information into this file. If anyone has done this or can point me in the right direction I would be grateful. regards Andy Griffin Dr Stephen Henson wrote: > Andrew Griffin wrote: > > > > Hi, > > > > I've been trying to create my own Certificate Authority

Creating own Certificate Authority.

1999-11-08 Thread Andrew Griffin
Hi, I've been trying to create my own Certificate Authority for testing purposes. I have created everything I need in oder to run the sign.sh script, however I do not have this script and can't figure out what parameters I need to pass to openssl ca. Can anyone shed some light on this. I have cr

PKCS#8 to OpenSSL format

1999-01-17 Thread Andrew Griffin
Steve, Keith Johnston wrote: > > Does anyone know of a tool to convert a PKCS8 RSA private key to the PEM > or DER format > that OpenSSL uses? And you responded Yes I do. Its in my personal library source and isn't yet in the main tree: yet another thing on my list of 'things to do'. What kind