Hi, I've created an RSA Key and Certificate: # Generate the RSA keys and certificate openssl req -x509 -nodes -days 365 -newkey rsa:1024 -sha1 -subj \ '/C=US/ST=CA/L=Mountain View/CN=www.example.com' -keyout \ myrsakey.pem -out /tmp/myrsacert.pem
then exported to pfx: (from example http://code.google.com/apis/gdata/docs/auth/authsub.html#Registered) openssl pkcs12 -export -in test_cert.pem -inkey myrsacert.pem -out myrsacert.pfx -name "Testing Certificate" the above code is the example, of course doesn't work, i used the following openssl pkcs12 -export -in myrsacert.pem -inkey myrsakey.pem - out myrsacert.pfx -name "Testing Certificate" added the pfx file to the iis for the web application uploaded the pem file to Manage Domains but when i call exchangeForSessionToken i get an System.Net.WebException: The remote server returned an error: (401) Unauthorized. at System.Net.HttpWebRequest.GetResponse() at Google.GData.Client.AuthSubUtil.exchangeForSessionToken(String protocol, String domain, String onetimeUseToken, AsymmetricAlgorithm key) I know the problem must be with the certification, but everything looks good. Please Help, Barry -- You received this message because you are subscribed to the Google Groups "Google Health Developers" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/googlehealthdevelopers?hl=en.
