How to specify the certificate relative path in saml config

Hi Team,

What is the format for specifying the relative path of certificate?
I have certificates inside another folder in the MVC project.
I tried giving /Certificate/idp.pfx , ~/Certificate/idp.pfx, Certificate/idp.pfx etc. But all of those were giving errors.

Could you please help me on that?

For relative paths, the path is relative to your application’s folder.
“Certificates/idp.pfx” is in a sub-folder of the application.
“.\idp.pfx” is in the application’s folder.

You can also specify an absolute path if preferred.
“/Certificates/idp.pfx” is in a folder under the current drive.
“c:\Certificates\idp.pfx” is an absolute path.

The tilde character (~) isn’t supported in the path.

If you enable SAML trace you’ll see entries in the log file including the expanded absolute path of the certificate file that’s being loaded.
http://www.componentspace.com/Forums/17/Enabing-SAML-Trace

[quote]
ComponentSpace - 10/20/2016
For relative paths, the path is relative to your application's folder.
"Certificates/idp.pfx" is in a sub-folder of the application.
".\idp.pfx" is in the application's folder.

You can also specify an absolute path if preferred.
"/Certificates/idp.pfx" is in a folder under the current drive.
"c:\Certificates\idp.pfx" is an absolute path.

The tilde character (~) isn't supported in the path.

If you enable SAML trace you'll see entries in the log file including the expanded absolute path of the certificate file that's being loaded.
http://www.componentspace.com/Forums/17/Enabing-SAML-Trace

[/quote]


I gave the below
"/Certificates/idp.pfx"
But I am getting error that it cannot find out the certificate

Please enable SAML trace and send the generated log file as an email attachment to support@componentspace.com and mention your forum post.
http://www.componentspace.com/Forums/17/Enabing-SAML-Trace