I have been doing this exact thing for a year or so. You do have to set up your certificates using the keychain ...
stackoverflow.com