Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 473
  • Last Modified:

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
0
PUhlin
Asked:
PUhlin
1 Solution
 
yfastudCommented:
even this guide is for wampserver, you can check it out to get the idea ;)
http://blog.jlbn.net/?p=46
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

NEW Internet Security Report Now Available!

WatchGuard’s Threat Lab is a group of dedicated threat researchers committed to helping you stay ahead of the bad guys by providing in-depth analysis of the top security threats to your network.  Check out this quarters report on the threats that shook the industry in Q4 2017.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now