eNom SSL Plugin problem in OBAS v4.5.6-33: [CODE: -2052] [MESSAGE: Unsupported CSR header footer]

Discussion in 'Troubleshooting' started by scardus01, Dec 15, 2016.

Tags:
  1. scardus01

    scardus01 Kilo Poster

    Messages:
    31
    Hi,

    We've recently starting having problem issuing & renewing certificates using the eNom plugin.

    After some debugging I found that OBAS strips the standard "-----BEGIN CERTIFICATE REQUEST-----" and "-----END CERTIFICATE REQUEST-----" lines from the CSR before sending it to eNom.

    It looks like eNom now expect these lines to be present and produces the following error: 1. An error occurred: [CODE: -2052] [MESSAGE: Unsupported CSR header footer]2. Cannot parse CSR. It may be invalid.

    The fix is simple, edit /usr/local/share/perl5/HSPC/MT/Plugin/SSL/eNom.pm and comment out lines 282 & 283:

    # $h{csr} = join("\n",
    # grep { !m/CERTIFICATE REQUEST/i } split(/[\r\n]+/, $h{csr}));​

    Restart hspcd and eNom SSL issuing will work again!

    Sean
     
    dkolvakh likes this.
  2. Vadim Ivanov

    Vadim Ivanov Kilo Poster

    Messages:
    36
    Hello Sean,

    Thank you shared the issue information.

    The bug #PBAS-30520 is posted. We fix it in the nearest OBAS update.
     
  3. dkolvakh

    dkolvakh Odin Team

    Messages:
    348

Share This Page