Error trying to create self signed certificate using openssl toolkit

I'm new to the administration side of things and struggling a bit to resolve my current obstacle.

Trying to create a local self signed certificate to test a payment gateway to be used on a e-commerce project, build in PHP (5.2) and running on Apache (2.2.11). Everything was installed through the xampp installer which included SSL.

To do this I've tried executing the following example commands through the openssl toolkit (\xampp\apache\bin\openssl.exe):

genrsa -des3 -out server.key 1024
x509 -reg -days 365  -in example.csr -signkey server.key -out example.crt
- but get: example.csr: No such file or directory error in x509

The logical question would be where is it looking for the file? In the ..\bin dir, I'm running it from, or in the ..\conf dir where the ssl folders are?

Is it not supposed to created or do I have to create it first?

Some direction would greatly be appreciated.

Thanks
PUhlinAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

yfastudCommented:
even this guide is for wampserver, you can check it out to get the idea ;)
http://blog.jlbn.net/?p=46
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Apache Web Server

From novice to tech pro — start learning today.