Jump to content
Latest News: (loading..)

Archived

This topic is now archived and is closed to further replies.

kris_hm

How to use openSSL for ceating private key ?

Recommended Posts

Hi,

I have to use openSSL to create private key to secure some of my datas on website.

I downloaded openssl for windows, installes it and thats it. I've stuck :(

I know that I should be able to use that command:

openssl genrsa -out my-prvkey.pem 1024

in command line to create the certificate. But it doesnt work (Even if I'm in openssl/bin directory).

Please help as I'm looking for it two days already and can't find any help

Share this post


Link to post
Share on other sites

Start then run

you will see cmd, click enter, then you will see

 

C:\Documents And Settings\Administrator then you need to type

 

cd.. then type

cd.. again.

then you will see c:\

Now type and enter openssl genrsa -out my-prvkey.pem 1024

 

Also good reading is http://www.openssl.org/

 

Hope that helps

 

George

Share this post


Link to post
Share on other sites

Anyone???

I really need that help. I've tried in many ways. I followed many forum's posts...

Why my openssl doesn't work ?? maybe I need some additional program??

help help help

Share this post


Link to post
Share on other sites
I know that I should be able to use that command:

openssl genrsa -out my-prvkey.pem 1024

in command line to create the certificate. But it doesnt work (Even if I'm in openssl/bin directory).

Use Windows search to find openssl.exe

 

Open a DOS window.

 

Change directories (via the cd command) to the folder where you found openssl.exe

 

Type in your command.


If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Share this post


Link to post
Share on other sites

That's not a problem for me.

The problem is that when I try to use openssl.exe (using openssl commands) I get a message:

 

The system cannot execute the specified program

 

and I don't know why (???)

Share this post


Link to post
Share on other sites
and I don't know why (???)

1. You're not in the folder where openssl.exe is

 

2. openssl.exe isn't on your machine


If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Share this post


Link to post
Share on other sites

you're not wright. Maybe i'm new to openssl but not to other stuff

anyway I solved the problem. looks like it was something wrong with openssl itself, as I downloaded different version and it works fine

anyway i've got other problem now. i created private and public key, added new cert to paypal and downloaded my certificate.

but still don't know how to encrypt my html buttons

Share this post


Link to post
Share on other sites

:P


If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Share this post


Link to post
Share on other sites

×