Lors de la phase d'initialisation HIA pour la banque HSBC, je récupère le message de retour EBICS_OK. Par contre du coté de la banque, la phase HIA est en anomalie : EBICS Message 09217 (EBICS_ONLY_X509_SUPPORT).
Avez vous une idée de l'origine de cette incohérence entre le code de retour envoyé par la banque et celui interprété sur le client ?
Merci
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Then, I have get an issue due to X509 extensions. Some banks require the KeyUsage extension only, and the certificate is not recognized if we keep other extension like BasicConstraint.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I faced the same problem. Can you provide sample code, how order method calls createAuthenticationPubKeyInfoType() and createEncryptionPubKeyInfoType() in EbicsXmlFactory may change the request. Methods - createAuthenticationPubKeyInfoType and createEncryptionPubKeyInfoType call from HIARequestOrderDataElement only.
Thanx.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Bonjour,
Lors de la phase d'initialisation HIA pour la banque HSBC, je récupère le message de retour EBICS_OK. Par contre du coté de la banque, la phase HIA est en anomalie : EBICS Message 09217 (EBICS_ONLY_X509_SUPPORT).
Avez vous une idée de l'origine de cette incohérence entre le code de retour envoyé par la banque et celui interprété sur le client ?
Merci
Have you looked to the XML traces ? What is the EBICS code there ?
I have found the issue, is due to X509 Generator class. The solution is to inverse the order of method calls : createAuthenticationPubKeyInfoType() and createEncryptionPubKeyInfoType() in EbicsXmlFactory. The solution is describe here : https://sourceforge.net/p/ebics/discussion/general/thread/9aec2911/?limit=25#bc0b
Then, I have get an issue due to X509 extensions. Some banks require the KeyUsage extension only, and the certificate is not recognized if we keep other extension like BasicConstraint.
I faced the same problem. Can you provide sample code, how order method calls createAuthenticationPubKeyInfoType() and createEncryptionPubKeyInfoType() in EbicsXmlFactory may change the request. Methods - createAuthenticationPubKeyInfoType and createEncryptionPubKeyInfoType call from HIARequestOrderDataElement only.
Thanx.