Solved

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

Posted on 2014-10-30
3
187 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

SSL stands for “Secure Sockets Layer” and an SSL certificate is a critical component to keeping your website safe, secured, and compliant. Any ecommerce website must have an SSL certificate to ensure the safe handling of sensitive information like…
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.
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.
Concerto provides fully managed cloud services and the expertise to provide an easy and reliable route to the cloud. Our best-in-class solutions help you address the toughest IT challenges, find new efficiencies and deliver the best application expe…

930 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

10 Experts available now in Live!

Get 1:1 Help Now