Click here to Skip to main content
15,881,516 members
Home / Discussions / Web Development
   

Web Development

 
GeneralRe: How to get saved data from option select in PHP? Pin
imbruceter1-Aug-22 1:27
imbruceter1-Aug-22 1:27 
GeneralRe: How to get saved data from option select in PHP? Pin
Richard MacCutchan1-Aug-22 1:29
mveRichard MacCutchan1-Aug-22 1:29 
GeneralRe: How to get saved data from option select in PHP? Pin
imbruceter1-Aug-22 1:37
imbruceter1-Aug-22 1:37 
AnswerRe: How to get saved data from option select in PHP? Pin
Sandrahdes1-Sep-22 21:06
Sandrahdes1-Sep-22 21:06 
QuestionASP.Net MVC : Send an array in POST Pin
hageshii26-Jul-22 3:39
hageshii26-Jul-22 3:39 
QuestionSelf Signed Cert Questions Pin
Kevin Marois23-Jul-22 19:03
professionalKevin Marois23-Jul-22 19:03 
AnswerRe: Self Signed Cert Questions Pin
Richard Deeming24-Jul-22 21:30
mveRichard Deeming24-Jul-22 21:30 
GeneralRe: Self Signed Cert Questions Pin
Kevin Marois25-Jul-22 9:11
professionalKevin Marois25-Jul-22 9:11 
GeneralRe: Self Signed Cert Questions Pin
Richard Deeming25-Jul-22 21:17
mveRichard Deeming25-Jul-22 21:17 
GeneralRe: Self Signed Cert Questions Pin
Kevin Marois27-Jul-22 6:45
professionalKevin Marois27-Jul-22 6:45 
GeneralRe: Self Signed Cert Questions Pin
Richard Deeming27-Jul-22 22:01
mveRichard Deeming27-Jul-22 22:01 
GeneralRe: Self Signed Cert Questions Pin
Kevin Marois28-Jul-22 5:51
professionalKevin Marois28-Jul-22 5:51 
GeneralRe: Self Signed Cert Questions Pin
Richard Deeming28-Jul-22 6:46
mveRichard Deeming28-Jul-22 6:46 
GeneralRe: Self Signed Cert Questions Pin
Kevin Marois28-Jul-22 8:07
professionalKevin Marois28-Jul-22 8:07 
GeneralRe: Self Signed Cert Questions Pin
Richard Deeming1-Aug-22 0:16
mveRichard Deeming1-Aug-22 0:16 
GeneralRe: Self Signed Cert Questions Pin
jsc4228-Jul-22 22:27
professionaljsc4228-Jul-22 22:27 
GeneralRe: Self Signed Cert Questions Pin
Richard Deeming1-Aug-22 0:17
mveRichard Deeming1-Aug-22 0:17 
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

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.