Hi Kyaw,

The value should be the full path to the mycert.pfx file.  In the
sample code we use the example:

C:\projects\Google.Apps.SingleSignOn\key\testcert.pfx

But your value should be the path to the file on your server.  Are you
able to determine the full path to mycert.pfx?

-alex

On Oct 14, 10:47 am, kms <[EMAIL PROTECTED]> wrote:
> Hi Julian,
>     Thanks for replying. Can you give me more details? I uploaded
> certificates and web.confg on the web hosting server. I changed like
> this
>
> <add key="Google.Apps.SingleSignOn.PfxFile" value="mycert.pfx" />
> <add key="Google.Apps.SingleSignOn.Url" value="SingleSignOn.aspx" />
>
> I still get
>  System.Security.Cryptography.CryptographicException: The system
> cannot find the file specified.
>
> Thanks and Regards,
> Kyaw
>
> On Oct 13, 11:48 am, "Julian (Google)" <[EMAIL PROTECTED]> wrote:
>
> > Hi Kyaw,
>
> > The web.confg file should point to the certificates that you generated
> > when following the installation process, this path usually is
> > different to the sample one (C:\projects...) that you mentioned. Also,
> > double check that the ASP.NET user has reading rights over the
> > certificates.
>
> > Cheers,
> > Julian
>
> > On Oct 9, 9:59 pm, kms <[EMAIL PROTECTED]> wrote:
>
> > > Hi
> > >    I am testing SSO .NET sample on my web server. I can run everyting
> > > on my local machine. It works perfectly. But when I test it on server,
> > > I got the followin error:
>
> > >  Exception Details:
> > > System.Security.Cryptography.CryptographicException: The system cannot
> > > find the file specified.
>
> > >  I got saml request on Prompt.aspx page . but the problem starts after
> > > signing in. I thought it was public key that canot be found. the web
> > > page goes to SingleSignOn.aspx page. On web.confg,
>
> > > <add key="Google.Apps.SingleSignOn.PfxFile" value="C:\projects
> > > \Google.Apps.SingleSignOn\key\mycert.pfx" />
> > > <add key="Google.Apps.SingleSignOn.Url" value="SingleSignOn.aspx" />
>
> > > Do I have to point mycert.pfx differeny way? How I have to change the
> > > path? I uploaded the mycert.pfx on the webserver.
>
> > > I have been trying different ways. But the same error.
>
> > > Thanks and Regards,
> > > Kyaw- Hide quoted text -
>
> > - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Apps APIs" 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/google-apps-apis?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to