Solved

Is it possible to add a SSL certificate to a website in a test environment

Posted on 2014-10-30
3
184 Views
Last Modified: 2014-11-02
Our developer is creating a .Net API using Visual Studio and he is including that it requires SSL to access it.  When he tries to test it he gets the following:  Could not establish trust relationship for the SSL/TLS secure channel with authority 'localhost:44312'
Is it possible using server 2012 r2 to add a free SSL certificate in a test environment?  We have SSL certificates for our production domains but this is a test environment on a local host.  Thanks for your help
0
Comment
Question by:gloyola1
3 Comments
 
LVL 5

Accepted Solution

by:
Sean Jackson earned 200 total points
ID: 40413805
Yes, you can use a self-signed certificate, which will generate an 'untrusted' error, but the SSL will work if you authorize the connection.
0
 
LVL 33

Assisted Solution

by:Dave Howe
Dave Howe earned 300 total points
ID: 40414110
You have plenty of options.

you can generate a self signed certificate, and live with the cert error.

you can generate your own CA and sign your own cert with that - which will work flawlessly if you import the CA cert into your local keystore

you can generate a "trial" cert - such as https://www.instantssl.com/free-ssl-certificate.html

you can use one of your "real" SSL certs, then override the name resolution on the client by putting the name into c:\windows\system32\drivers\etc\hosts
0
 

Author Closing Comment

by:gloyola1
ID: 40418721
Thanks
0

Featured Post

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

Imagine a situation that you have installed SSL (http://en.wikipedia.org/wiki/Secure_Sockets_Layer) Certificate on your Cisco ASA (Cisco Adaptive Security Appliance) firewall. Installation of SSL certificate on ASA is an another topic for which you …
Since pre-biblical times, humans have sought ways to keep secrets, and share the secrets selectively.  This article explores the ways PHP can be used to hide and encrypt information.
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now