Closed ghost closed 2 years ago
Hi @ashleyecloud, thanks for reaching out to me. Most likely your "trust store contains out of date" certificates. Please have a look at the discussion https://github.com/phax/phoss-smp/discussions/211#discussioncomment-2653792 that deals with the same issue and should resolve your issue as well.
@phax Using the complete-truststore.jks for "Peppol Directory Truststore" - I still get the same error
Do I need to modify the complete-truststore.jks in anyway?
Found no certificate alias matching 'REDACTED' in the provided aliases [] -- com.helger.httpclient.security.PrivateKeyStrategyFromAliasCaseInsensitive.chooseAlias(PrivateKeyStrategyFromAliasCaseInsensitive.java:104)
The REDACTED part is my business name, not sure what I'm doing wrong.
Okay. You should never modify the truststore.
My assumption is, that you did not configure the keystore correctly.
In the configuration file application.properties
(old name pd-client.properties
) please make sure, you are using the same SMP keystore than in your main smp-server.properties
file.
The SMP certificate is used as a client certificate to the Directory
My PEPPOL Directory keystore was not configured correctly, it is now fixed. Thanks!
What truststore/keystore is it referring to where "Found no certificate alias matching 'REDACTED'"?