Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

My Windows Command Line didnt recognize the command openssl. Therefore I downloaded it from here http://deanlee.cn/programming/openssl-for-windows.

But now, everytime I want to use this openssl tool, I have to write the following into my commandline: http://deanlee.cn/programming/openssl-for-windows

/Users/"myName"/Desktop/opensslforwindows/bin/openssl

For using this command I would just like to write

openssl

Shouldnt be too hard, but I dont have a lot command-line experience, and I couldnt find these information with google.

share|improve this question

closed as off topic by Iain, RobM, Zoredache, sysadmin1138, John Gardeniers Dec 21 '10 at 4:42

Questions on Server Fault are expected to relate to professional server, networking, or related infrastructure administration within the scope defined by the community. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about reopening questions here.If this question can be reworded to fit the rules in the help center, please edit the question.

    
Why not install and use something like cygwin which has openssl built in? –  Zoredache Dec 20 '10 at 21:19

2 Answers 2

up vote 1 down vote accepted

Right click 'Computer', go to 'Properties', 'Advanced System Settings', 'Advanced' tab. Click 'Environment Variables'. Find 'PATH' in User Variables, and add ';/Users/"myName"/Desktop/opensslforwindows/bin/openssl' to the end of it.

share|improve this answer

You need to add /Users/"myName"/Desktop/opensslforwindows/bin/openssl to your environment path.

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.