Menu

HSBC - 091217 EBICS_ONLY_X509_SUPPORT

Geoffrey
2017-03-17
2017-03-17
  • Geoffrey

    Geoffrey - 2017-03-17

    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

     
  • hacheni

    hacheni - 2017-03-21

    Have you looked to the XML traces ? What is the EBICS code there ?

     
  • Geoffrey

    Geoffrey - 2017-03-22

    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.

     
  • Maxim Kulinich

    Maxim Kulinich - 2017-08-22

    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.

     

Log in to post a comment.

MongoDB Logo MongoDB