Is this an issue with the Partner's certificate (public certificate)?
A partner sent over two .cer files (cert.cer and ca.cer), I'm getting a 'Partner Certificate Invalid: unable to get local issuer certificate' when attempted to validate the two.
If I do not validate them when adding the certs, and attempt to send a message to that Partner, an exception is thrown when building the message:
as2.Message.build ->
if self.receiver.encrypt and not self.receiver.encrypt_cert:
raise ImproperlyConfigured(
"Encryption of messages is enabled but encrypt key is not set for the receiver."
)
Is this an issue with the Partner's certificate (public certificate)?
A partner sent over two .cer files (cert.cer and ca.cer), I'm getting a 'Partner Certificate Invalid: unable to get local issuer certificate' when attempted to validate the two.
If I do not validate them when adding the certs, and attempt to send a message to that Partner, an exception is thrown when building the message:
as2.Message.build ->
if self.receiver.encrypt and not self.receiver.encrypt_cert: raise ImproperlyConfigured( "Encryption of messages is enabled but encrypt key is not set for the receiver." )