Click here to Skip to main content
15,849,032 members
Home / Discussions / Web Development
   

Web Development

 
GeneralRe: Self Signed Cert Questions Pin
Kevin Marois1-Aug-22 11:40
professionalKevin Marois1-Aug-22 11:40 
GeneralRe: Self Signed Cert Questions Pin
Richard Deeming1-Aug-22 22:34
mveRichard Deeming1-Aug-22 22:34 
GeneralRe: Self Signed Cert Questions Pin
Kevin Marois9-Aug-22 8:14
professionalKevin Marois9-Aug-22 8:14 
GeneralRe: Self Signed Cert Questions Pin
Richard Deeming9-Aug-22 8:29
mveRichard Deeming9-Aug-22 8:29 
GeneralRe: Self Signed Cert Questions Pin
Kevin Marois9-Aug-22 13:12
professionalKevin Marois9-Aug-22 13:12 
GeneralRe: Self Signed Cert Questions Pin
Richard Deeming10-Aug-22 2:24
mveRichard Deeming10-Aug-22 2:24 
GeneralRe: Self Signed Cert Questions [UPDATED] Pin
Kevin Marois10-Aug-22 9:47
professionalKevin Marois10-Aug-22 9:47 
GeneralRe: Self Signed Cert Questions [UPDATED] Pin
Richard Deeming10-Aug-22 22:52
mveRichard Deeming10-Aug-22 22:52 
The exception from outside is the same as before: a self-signed certificate is not issued by a trusted CA, and won't be trusted by default.

The validation callback you've shown will work, but only by turning off all SSL validation. If someone managed to poison the DNS for your external users, they can easily impersonate your service with any certificate, even if it doesn't match the name you've used.

You would do better to examine the parameters passed in, and verify that the certificate matches the one you're expecting. But then you would have to update that callback every time your certificate expired and was replaced.

Alternatively, you could try to convince your external users to add your certificate to the "trusted" certificate store.

But the simplest option is to use a proper domain name, and get a proper certificate. You don't even have to pay for it - so long as your domain can be resolved publicly, you can use Let's Encrypt[^] to get a free cert.



"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer

GeneralRe: Self Signed Cert Questions [UPDATED] Pin
Kevin Marois11-Aug-22 6:39
professionalKevin Marois11-Aug-22 6:39 
QuestionDisplay snowflake data into visualization format Pin
jebasgp20-Jul-22 2:51
jebasgp20-Jul-22 2:51 
AnswerRe: Display snowflake data into visualization format Pin
CHill6020-Jul-22 3:31
mveCHill6020-Jul-22 3:31 
Question.Net Framework Web API & Client - Empty JSON Pin
Kevin Marois11-Jul-22 17:56
professionalKevin Marois11-Jul-22 17:56 
AnswerRe: .Net Framework Web API & Client - Empty JSON Pin
Mycroft Holmes12-Jul-22 13:08
professionalMycroft Holmes12-Jul-22 13:08 
GeneralRe: .Net Framework Web API & Client - Empty JSON Pin
Kevin Marois 202212-Jul-22 13:36
Kevin Marois 202212-Jul-22 13:36 
AnswerRe: .Net Framework Web API & Client - Empty JSON Pin
Richard Deeming12-Jul-22 22:44
mveRichard Deeming12-Jul-22 22:44 
GeneralMessage Closed Pin
13-Jul-22 7:24
professionalKevin Marois13-Jul-22 7:24 
GeneralRe: .Net Framework Web API & Client - Empty JSON Pin
Richard Deeming13-Jul-22 7:55
mveRichard Deeming13-Jul-22 7:55 
GeneralRe: .Net Framework Web API & Client - Empty JSON Pin
Kevin Marois13-Jul-22 9:14
professionalKevin Marois13-Jul-22 9:14 
QuestionVisual Studio 2022 vs Visual Studio Code for Angular development Pin
Danpeking10-Jun-22 0:20
Danpeking10-Jun-22 0:20 
AnswerRe: Visual Studio 2022 vs Visual Studio Code for Angular development Pin
thatraja2-Aug-22 2:48
professionalthatraja2-Aug-22 2:48 
AnswerRe: Visual Studio 2022 vs Visual Studio Code for Angular development Pin
Jeremy Falcon15-Dec-22 14:14
professionalJeremy Falcon15-Dec-22 14:14 
AnswerRe: Visual Studio 2022 vs Visual Studio Code for Angular development Pin
Nitin S11-Apr-23 19:14
professionalNitin S11-Apr-23 19:14 
QuestionSearch Function Pin
Yhanzoe Adigue6-Jun-22 17:28
Yhanzoe Adigue6-Jun-22 17:28 
AnswerRe: Search Function Pin
Pete O'Hanlon6-Jun-22 21:41
subeditorPete O'Hanlon6-Jun-22 21:41 
QuestionI'm trying to interact with a select element with selenium Pin
lucas lima 202229-May-22 14:25
lucas lima 202229-May-22 14:25 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.