RE: Capturing Enter PEM pass phrase prompt

2012-01-27 Thread Dave Thompson
to upload a file to a FTPS server. The FTPS server has > a certificate which requires a pass phrase. My Java program > reads from standard error looking for the "Enter PEM pass > phrase:" prompt so I can then write the pass phrase to stdin. > > First for clarification:

Re: Capturing Enter PEM pass phrase prompt

2012-01-26 Thread Matt Caswell (fr...@baggins.org)
to /dev/tty. Hope that helps. Matt On 26/01/12 22:29, Robert O'Hearne wrote: I am using a Java program to call a Perl script which calls curl to upload a file to a FTPS server. The FTPS server has a certificate which requires a pass phrase. My Java program reads from standard error loo

Capturing Enter PEM pass phrase prompt

2012-01-26 Thread Robert O'Hearne
I am using a Java program to call a Perl script which calls curl to upload a file to a FTPS server. The FTPS server has a certificate which requires a pass phrase. My Java program reads from standard error looking for the "Enter PEM pass phrase:" prompt so I can then write the pass

something about the PEM pass phrase

2008-03-26 Thread learning openssl
Hello, I use the function PEM_write_RSAPrivateKey(privateKeyFilePW, r,EVP_des_ede3_cbc(),NULL, 0, NULL, NULL) to write the RSA private key with a pass phrase. But I am wondering where the pass phrase is stored? later I use the function PEM_read_RSAPrivateKey(privateKeyFilePW, &keyReading, pas

How many letters can we enter for the PEM pass phrase?

2008-03-26 Thread learning openssl
Hello, I am wondering how many letters we can enter for the PEM pass phrase? It seems that the maxium length is 1024. Can we change the pass phrase later? if so, which functions can we use? Thanks in advance! _ Discover the new

Re: How to get rid of this message :"Enter PEM pass phrase" ?

2007-05-17 Thread Rajat Dudeja
>> 1. rpm -e openssl ( to install the already installed openssl-0.9.8b) >1) reinstall openssl package that came with Fedora. unless you are going >to rebuild all the packages that depend on it you will face a nightmare >2) strip off the password from your .pem file - if you really dont want to

Re: How to get rid of this message :"Enter PEM pass phrase" ?

2007-05-15 Thread A . L . M . Buxey
Hi, > 1. rpm -e openssl ( to install the already installed openssl-0.9.8b) 1) reinstall openssl package that came with Fedora. unless you are going to rebuild all the packages that depend on it you will face a nightmare 2) strip off the password from your .pem file - if you really dont want to m

How to get rid of this message :"Enter PEM pass phrase" ?

2007-05-15 Thread Rajat Dudeja
Hi Folks ! I am using the openssl-0.9.8b. My application racoon which is a key management software for the IPsec uses openssl to read the self-siged certificates. Every time my certificate is read, I'm asked for the pass phrase "Enter the PEM pass phrase" I always enter the pas

RE: PEM pass phrase hard coded

2003-11-13 Thread Francis.Vanhemmens
I had such a request to have such server start alone without human intervention. If you want a little more secure solution. You can for example, hardcode a 3DES key in your server, to encrypt/decrypt the PEM pass phrase, and eventually mess the result a little (but in a way you can reconstruct

PEM pass phrase hard coded

2003-11-10 Thread cau.m
Hi, When i run my SSL server, it keeps asking the PEM pass phrase every time it is started. But i want my server to be loaded automaticaly, wihtout need to type everytime the password. Is there a way to put this password inside the server code and eliminate the need of type the pass everytime

RE: what is the difference between -passout option and PEM pass phrase?

2002-11-18 Thread xue yuan
priv key file,I am puzzling > what is the usage of my input "12345"? > so I tried again: > 2)openssl genrsa -des -out key2.pem > It prompted me to "Enter PEM pass phrase:",I gived "12345",and it > seems worked. Then I used the file key

Re: what is the difference between -passout option and PEM pass phrase?

2002-11-18 Thread 周光华
char passin[] = "12345"; - Original Message - From: "ѦԴ" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, November 18, 2002 3:23 PM Subject: what is the difference between -passout option and PEM pass phrase? > I want to generate a r

Re: what is the difference between -passout option and PEM pass phrase?

2002-11-18 Thread Nils Larsch
ed again: > 2)openssl genrsa -des -out key2.pem > It prompted me to "Enter PEM pass phrase:",I gived "12345",and it > seems worked. Then I used the file key2.pem in my program as follows: > > char * passin = "12345"; > EVP_PKEY *pkey

Re: PEM pass phrase

2001-03-18 Thread Neta Shmueli
x:+972 3 6442366 mailto:[EMAIL PROTECTED] http://www.radguard.com == Patrick Li wrote: > Hi, > > When creating a client certificate using command "CA.pl -newreq", it prompts > for entering a PEM pass phrase be

Re: PEM pass phrase

2001-03-15 Thread dobos_s
AIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent by: cc: owner-openssl-users@o Subjec

PEM pass phrase

2001-03-15 Thread Patrick Li
Hi, When creating a client certificate using command "CA.pl -newreq", it prompts for entering a PEM pass phrase before generating the newreq.pem file. What is the usage/purpose of this password? It seems to me that it is the password for accessing data (like private key?) in the

Passing PEM pass phrase as an argument, not at the command line

2000-08-22 Thread Richard N. Everett
Dear all, At present I am putting a COM wrapper (with a VB front end) around cli.cpp and serv.cpp. My intention is to get to a state where I can connect and disconnect at will, and send and receive messages freely. The client seems to be working well, but I have a problem with the server. In ord

Re: Piping into PEM pass phrase!!!

2000-08-01 Thread Nicolas Roumiantzeff
with unix. There might be simpler ways... Nicolas Roumiantzeff. -Message d'origine- De : Markus Wagner <[EMAIL PROTECTED]> À : [EMAIL PROTECTED] <[EMAIL PROTECTED]> Date : lundi 31 juillet 2000 22:00 Objet : Piping into PEM pass phrase!!! >Hello, > >I am building

Piping into PEM pass phrase!!!

2000-07-31 Thread Markus Wagner
Hello, I am building a CA frontend in C/C++ and need to automatically provide input for the PEM pass phrase dialog when signing CSRs. I open three pipes for stdin/stdout/stderr, fork to openssl and write the pwd into stdin. But openssl doesnt read my input. The thing is: I already did this in

RE: An old thread - PEM pass phrase for smime signature

2000-06-08 Thread Wade L. Scholine
00 10:07 AM > To: [EMAIL PROTECTED] > Subject: An old thread - PEM pass phrase for smime signature > > > > > Hi, > > Sorry to restart this thread and debate. > > I am using the smime feature of openssl. I want to automate > some things, but I > am stuck with

An old thread - PEM pass phrase for smime signature

2000-06-08 Thread Philippe WILLEM
Hi, Sorry to restart this thread and debate. I am using the smime feature of openssl. I want to automate some things, but I am stuck with the "Enter PEM pass phrase" prompt when I sign mails. I know that using an uncrypted private key might be helpful, but I whish to avoid this p

Re: PEM pass phrase

2000-04-21 Thread Tom Jordan
ierchio wrote: > > > Tugrul Bingol wrote: > > > > > Is there any way to get the password necessary for "PEM pass phrase" > > > from a file? > > > > Drugs, hypnosis, torture are some of the more common effective methods.

Re: PEM pass phrase

2000-04-21 Thread Michael Sierchio
Tugrul Bingol wrote: > > Don't be rude !!! If you know the answer you may help, if you don't, don't > keep list busy. Oh, I know the answer, if you could state the question in a way that is specific and doesn't waste everyone's time speculating what it is you want. How's this: I won't be rude i

Re: PEM pass phrase

2000-04-20 Thread Tugrul Bingol
Don't be rude !!! If you know the answer you may help, if you don't, don't keep list busy. Michael Sierchio wrote: > Tugrul Bingol wrote: > > > Is there any way to get the password necessary for "PEM pass phrase" > > from a file? > > Dru

RE: PEM pass phrase

2000-04-20 Thread Wade L. Scholine
> -Original Message- > From: Tugrul Bingol [mailto:[EMAIL PROTECTED]] > Sent: Thursday, April 20, 2000 12:42 AM > To: [EMAIL PROTECTED] > Subject: PEM pass phrase > > > Hello, > > Is there any way to get the password necessary for "PE

Re: PEM pass phrase

2000-04-20 Thread Michael Sierchio
Tugrul Bingol wrote: > Is there any way to get the password necessary for "PEM pass phrase" > from a file? Drugs, hypnosis, torture are some of the more common effective methods. __

Re: How can I avoid "PEM pass phrase"

2000-04-11 Thread Thomas Reinke
> Hello, > >> > >> I used openssl in a secure rexecd executed through inetd. Normally each > >> time I run the server (secure rexecd) it asks me "PEM pass phrase". > >> However I want to avoid from it since it is run through inetd. In other > >&

RE: PEM pass phrase

2000-03-08 Thread Chris Kopp
When I try to strip the password encryption off of the private key, as described below, I get the following error:   req -key keyrq.txt -keyout test.key -nodes -config openssl.cnf unable to load Private key344:error:02001002:system library:fopen:system lib:tmp32dll\bss_file.c:103:fopen('.oid

Re: PEM pass phrase

2000-03-08 Thread Dr Stephen Henson
> Chris Kopp wrote: > > When I try to strip the password encryption off of the private key, as > described below, I get the following error: > > req -key keyrq.txt -keyout test.key -nodes -config openssl.cnf > unable to load Private key > 344:error:02001002:system library:fopen:system > lib:tmp3

RE: PEM pass phrase

2000-01-27 Thread Wade L. Scholine
There was a bit of a food fight about this subject here last year. What you need to have for unattended startup is an unencrypted private key. There are obvious security implications. Skye Poier is supposed to have written: > > What function do you call to avoid the 'Enter PEM pas

Re: PEM pass phrase

2000-01-27 Thread Thomas Reinke
oier wrote: > > What function do you call to avoid the 'Enter PEM pass phrase:' prompt? > Just won't do; the daemon needs to be started from an rc script. > > Skye > > __ > OpenSSL Project

Re: PEM pass phrase

2000-01-27 Thread Richard Levitte - VMS Whacker
skye> What function do you call to avoid the 'Enter PEM pass phrase:' prompt? skye> Just won't do; the daemon needs to be started from an rc script. One way to do it is to write a password callback that you register through SSL_CTX_set_default_passwd_cb(). However, this m

PEM pass phrase

1999-07-20 Thread Shalom Nevet
Dear open-ssl experts, Is there a way to create a certificate without PEM pass phrase? By using the "CA.sh" script to create certificate, you will be prompt for PEM phrase. It may be a good idea, however, in the need for server re-boot (auto-boot) the server will pause for use

Open SSL error and PEM pass phrase scripting

1999-07-19 Thread Scott Liebergen
startup to load the rules(at least from what I have seen). So what I have attempted to do was write an Expect script to do the ssh over and shutdown the server, reload the rules and then attempt to start the server up again. The problem comes when I try to restart the server and enter the PEM pass