• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Verifying certs with URLAccess
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Verifying certs with URLAccess


  • Subject: Verifying certs with URLAccess
  • From: Miro Jurisic <email@hidden>
  • Date: Fri, 5 Sep 2003 17:02:23 -0400

I make an https connection with URLAccess, and I want to verify that the server name in the cert corresponds to the name I expect. I already know that URLAccess will happily connect to foo.example.com even though the server presents a server for bar.example.com (assuming the cert verifies), and I don't want to allow that.

However, when I call ::URLGetPropertySize(url, kURLCertificate, &certSize) after ::URLDownload, I get back kURLUnknownPropertyError. What gives?

meeroh
--

<http://web.meeroh.org/> | KB1FMP

A: Because it reverses the logical flow of conversation.
Q: Why is top posting frowned upon?
_______________________________________________
macnetworkprog mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/macnetworkprog
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: Re: Setting Proxy servers as administrator
  • Next by Date: Example Code
  • Previous by thread: Re: Setting Proxy servers as administrator
  • Next by thread: Example Code
  • Index(es):
    • Date
    • Thread