Solved

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

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

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

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

#SSL #TLS #Citrix #HTTPS #PKI #Compliance #Certificate #Encryption #StoreFront #Web Interface #Citrix XenApp
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…
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

808 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