Skip to content

Service Provider (SP) private key #14

@ghost

Description

Net::SAML2::Binding::Redirect required a Service Provider (SP) private key. But Microsoft Azure do not present this key. It allow to download only Certificate.

image

So, how can I use this code without key?

my $redirect = Net::SAML2::Binding::Redirect->new(
key => '/path/to/SPsign-nopw-key.pem', # Service Provider (SP) private key
url => $sso_url, # Service Provider Single Sign Out URL
param => 'SAMLRequest' OR 'SAMLResponse', # Type of request
cert => '/path/to/IdP-cert.pem' # Service Provider (SP) certificate
);
my $url = $redirect->sign($authnreq);
my $ret = $redirect->verify($url);

Metadata

Metadata

Assignees

Labels

documentationImprovements or additions to documentation

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions