'How to specify CryptoComply algorithm provider in new Spring SAML2?
Our identity provider uses keys and certificates in the BCFKS
format. To use that format in key tool we specify the CryptoComply algorithm (not service) provider like so:
keytool.exe -list -keystore key.store -storepass some.password ^
-storetype BCFKS ^
-providername CCJ ^
-providerClass com.safelogic.cryptocomply.jcajce.provider.CryptoComplyFipsProvider ^
-providerpath ccj-3.0.1.jar
How do we do the same thing with the new Spring SAML2
configuration? Are there some properties that can be set to accomplish that?
Below is a sample "application.yml
":
spring:
security:
saml2:
relyingparty:
registration:
idprovider:
signing:
credentials: &rp-metadata
- private-key-location: classpath:credentials/rp-private.key
certificate-location: classpath:credentials/rp-certificate.crt
identityprovider:
metadata-uri: file:///drive$\metadata_folder\saml2-metadata.xml
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|