• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 815
  • Last Modified:

Wamp Server Self Signed Cert

How do I create a self signed cert and install a temporary certificate on a wamp server?  

2 Solutions
Use this tool to generate and download the certificates for the hostname or IP address you're using:

It will also give you a section of code to add to Apache, but that code uses file paths that are for Linux, not Windows, so you'll have to adjust them for Windows. I suggest just saving them into the root of your Apache directory (e.g. C:/Path/to/WAMP/Apache/) and then use something like this:

<VirtualHost www.example.com:443>
	ServerName www.example.com
	SSLEngine on

        # Linux style
	#SSLCertificateKeyFile /etc/apache2/ssl/www.example.com.key
	#SSLCertificateFile /etc/apache2/ssl/www.example.com.cert

        # Windows style
	SSLCertificateKeyFile "C:/Path/to/WAMP/Apache/www.example.com.key"
	SSLCertificateFile "C:/Path/to/WAMP/Apache/www.example.com.cert"

	SetEnvIf User-Agent ".*MSIE.*" nokeepalive ssl-unclean-shutdown

	# ...

Open in new window

Steve BinkCommented:
These instructions are meant for a Linux platform, but you can probably find the same utilities for Windows as well.

You can also obtain a free signed certificate from this lot: https://www.startssl.com/?app=12   if you want to avoid browser warnings.
NFR key for Veeam Agent for Linux

Veeam is happy to provide a free NFR license for one year.  It allows for the non‑production use and valid for five workstations and two servers. Veeam Agent for Linux is a simple backup tool for your Linux installations, both on‑premises and in the public cloud.

Steve BinkCommented:
@arober11: Have you used their services?
Yes, the sites a bit slow and clunky, but if your just after a FREE signed certificate, for email signing or non-critical (financial) https purposes, and don't mind renewing it each year, they appear to be the only game in town.

You don't even need to to generate a CSR beforehand, the site allows you to generate your private key and CSR, if you haven't already got one to upload.

Oh you'll need a version of openSSL on you Windows box, if not already present, see:

Steve BinkCommented:
Are there any issues with implementation?  I noticed they have a CA cert to install, along with the cert itself and its intermediate chain.
Their root CA has only been pushed, by the big boys, for 3 years, see:


So the cert's are only good (warning free) for ~90% of the market; you'll have problems with a few Grannies, large Corp's and Gov departments, who still appear to love <=Win2000 / IE6,  old Mac OS, Linux, Unix and Mobile OS's, hence the non critical comment above.  See also: http://en.wikipedia.org/wiki/StartCom#Trustedness
Steve BinkCommented:
Good info...thank you.  Wish I had heard about them two weeks ago.  I just spent about $400 on a two-year wildcard cert with RapidSSL.  I'll give these folks a try next time around.
I've requested that this question be deleted for the following reason:

Not enough information to confirm an answer.
Info provided by: gr8gonzo  in first post, and no feedback indicating the answer was inadequate.
Steve BinkCommented:
I obviously prefer my answer, since those are the tools to use to do it without depending on a third-party site.  I happen to like arober11's answer even better...I've been replacing my self-signed certs with those.  

In any case, gr8gonzo's information satisfies the question.

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

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