We help IT Professionals succeed at work.

Check out our new AWS podcast with Certified Expert, Phil Phillips! Listen to "How to Execute a Seamless AWS Migration" on EE or on your favorite podcast platform. Listen Now

x

Error trying to create self signed certificate using openssl toolkit

PUhlin
PUhlin asked
on
Medium Priority
528 Views
Last Modified: 2012-05-07
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
Comment
Watch Question

Commented:
Unlock this solution and get a sample of our free trial.
(No credit card required)
UNLOCK SOLUTION
Unlock the solution to this question.
Thanks for using Experts Exchange.

Please provide your email to receive a sample view!

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.