Solved

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

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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Coova-Chilli can't work with URL using HTTPS! 3 270
Add Server Certificate in IIS from C# 6 171
Schannel Error in Event Viewer 3 59
SSL - A Registrar-Level Change? 4 14
#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.
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 …
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

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