Click here to Skip to main content
15,867,453 members
Home / Discussions / Web Development
   

Web Development

 
GeneralRe: Self Signed Cert Questions Pin
Kevin Marois1-Aug-22 10:40
professionalKevin Marois1-Aug-22 10:40 
GeneralRe: Self Signed Cert Questions Pin
Richard Deeming1-Aug-22 21:34
mveRichard Deeming1-Aug-22 21:34 
GeneralRe: Self Signed Cert Questions Pin
Kevin Marois9-Aug-22 7:14
professionalKevin Marois9-Aug-22 7:14 
GeneralRe: Self Signed Cert Questions Pin
Richard Deeming9-Aug-22 7:29
mveRichard Deeming9-Aug-22 7:29 
GeneralRe: Self Signed Cert Questions Pin
Kevin Marois9-Aug-22 12:12
professionalKevin Marois9-Aug-22 12:12 
GeneralRe: Self Signed Cert Questions Pin
Richard Deeming10-Aug-22 1:24
mveRichard Deeming10-Aug-22 1:24 
GeneralRe: Self Signed Cert Questions [UPDATED] Pin
Kevin Marois10-Aug-22 8:47
professionalKevin Marois10-Aug-22 8:47 
GeneralRe: Self Signed Cert Questions [UPDATED] Pin
Richard Deeming10-Aug-22 21:52
mveRichard Deeming10-Aug-22 21: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 5:39
professionalKevin Marois11-Aug-22 5:39 
QuestionDisplay snowflake data into visualization format Pin
jebasgp20-Jul-22 1:51
jebasgp20-Jul-22 1:51 
AnswerRe: Display snowflake data into visualization format Pin
CHill6020-Jul-22 2:31
mveCHill6020-Jul-22 2:31 
Question.Net Framework Web API & Client - Empty JSON Pin
Kevin Marois11-Jul-22 16:56
professionalKevin Marois11-Jul-22 16:56 
AnswerRe: .Net Framework Web API & Client - Empty JSON Pin
Mycroft Holmes12-Jul-22 12:08
professionalMycroft Holmes12-Jul-22 12:08 
GeneralRe: .Net Framework Web API & Client - Empty JSON Pin
Kevin Marois 202212-Jul-22 12:36
Kevin Marois 202212-Jul-22 12:36 
AnswerRe: .Net Framework Web API & Client - Empty JSON Pin
Richard Deeming12-Jul-22 21:44
mveRichard Deeming12-Jul-22 21:44 
GeneralMessage Closed Pin
13-Jul-22 6:24
professionalKevin Marois13-Jul-22 6:24 
GeneralRe: .Net Framework Web API & Client - Empty JSON Pin
Richard Deeming13-Jul-22 6:55
mveRichard Deeming13-Jul-22 6:55 
GeneralRe: .Net Framework Web API & Client - Empty JSON Pin
Kevin Marois13-Jul-22 8:14
professionalKevin Marois13-Jul-22 8:14 
QuestionVisual Studio 2022 vs Visual Studio Code for Angular development Pin
Danpeking9-Jun-22 23:20
Danpeking9-Jun-22 23:20 
AnswerRe: Visual Studio 2022 vs Visual Studio Code for Angular development Pin
thatraja2-Aug-22 1:48
professionalthatraja2-Aug-22 1:48 
AnswerRe: Visual Studio 2022 vs Visual Studio Code for Angular development Pin
Jeremy Falcon15-Dec-22 13:14
professionalJeremy Falcon15-Dec-22 13:14 
AnswerRe: Visual Studio 2022 vs Visual Studio Code for Angular development Pin
Nitin S11-Apr-23 18:14
professionalNitin S11-Apr-23 18:14 
QuestionSearch Function Pin
Yhanzoe Adigue6-Jun-22 16:28
Yhanzoe Adigue6-Jun-22 16:28 
AnswerRe: Search Function Pin
Pete O'Hanlon6-Jun-22 20:41
subeditorPete O'Hanlon6-Jun-22 20:41 
QuestionI'm trying to interact with a select element with selenium Pin
lucas lima 202229-May-22 13:25
lucas lima 202229-May-22 13: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.