×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Oct 2013
    Posts
    2

    SSL certificate validations in Windows Phone

    How do I validate an SSL certificate from a Windows Phone application? I need to check for criteria like Certificate Issuer Name, Expiry date, Host name match, Certificate chain etc. programmatically from the app. Are these checks handled by the OS itself for trusted certificates? How can I do these validations for self-signed certificates?

  2. #2
    Nokia Developer Champion
    Join Date
    Mar 2013
    Posts
    427

    Re: SSL certificate validations in Windows Phone

    To my knowledge if you try to connect via HTTPS to a server that has an invalid certificate (name mismatch, expired, etc.) you will get an exception. If you want to use self signed certificates you will have to export them to a .cer file and install that on the device (e.g. mail it to yourself). At least the use of self-signed certificates works that way for Microsoft Exchange.

    I don't know how this works for generic SSL connections though.

Similar Threads

  1. Windows Phone 8 and Windows 8 input validations
    By josueyeray in forum Windows Phone General
    Replies: 3
    Last Post: 2013-06-17, 06:11
  2. Replies: 2
    Last Post: 2013-04-15, 12:10
  3. Windows 8 Phone Client Certificate HTTPS authentication
    By deadlock83 in forum Windows Phone General
    Replies: 0
    Last Post: 2013-03-15, 16:06
  4. Windows phone 8 app installation on phone without putting it on windows store
    By KnowledgeSeeker in forum Windows Phone General
    Replies: 2
    Last Post: 2013-03-05, 12:12
  5. J2me validations
    By meghali3 in forum Mobile Java General
    Replies: 4
    Last Post: 2009-10-01, 15:40

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •