• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 465
  • 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

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

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