[Mono-bugs] [Bug 621455] New: SSL code tries to store certs in prohibited iPhone directory

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Sat Jul 10 14:40:31 EDT 2010


http://bugzilla.novell.com/show_bug.cgi?id=621455

http://bugzilla.novell.com/show_bug.cgi?id=621455#c0


           Summary: SSL code tries to store certs in prohibited iPhone
                    directory
    Classification: Mono
           Product: MonoTouch
           Version: unspecified
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Class Libraries
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: ed at anuff.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: Customer
           Blocker: ---


Description of Problem:

Using SSL with HttpWebRequest will try to write server certificates into the
Mono certificate store at .config/.mono/certs

On the iPhone, the standard location of the ApplicationData directory is off
limits to running applications as it is outside of the filesystem sandbox. 
Trying to write anything to the ApplicationData directory or it's
subdirectories will fail on the device although not on the simulator.

Steps to reproduce the problem:
1. Use HttpWebRequest to connect via SSL to a server that returns a certificate
2. 


Actual Results:

Error message:
deny file-write*
/private/var/mobile/Applications/E047ABE1-3F14-4358-85ED-5AB4E92EA5C0/.config

Expected Results:

Write succeeds, no error message.

How often does this happen? 

Always

Additional Information:

Sent to mailing list, Miguel confirmed as a bug and asked a report be filed.

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the mono-bugs mailing list