Solved

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

Posted on 2014-10-30
3
206 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

The Ultimate Checklist to Optimize Your Website

Websites are getting bigger and complicated by the day. Video, images, custom fonts are all great for showcasing your product/service. But the price to pay in terms of reduced page load times and ultimately, decreased sales, can lead to some difficult decisions about what to cut.

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
Microservice architecture adoption brings many advantages, but can add intricacy. Selecting the right orchestration tool is most important for business specific needs.
In this video, viewers will be given step by step instructions on adjusting mouse, pointer and cursor visibility in Microsoft Windows 10. The video seeks to educate those who are struggling with the new Windows 10 Graphical User Interface. Change Cu…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…

688 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