Using Online Store CSR generator

Discussion in 'Customization & Integration Showcase and Discussion' started by _MaciejR, Aug 6, 2013.

  1. _MaciejR

    _MaciejR Bit Poster

    Messages:
    1
    Hello,

    I am developing PBAS 4.3.3 SSL plugin and I would like to use CSR generator in Online Store.

    Online Store uses two PBAS XML API commands: get_cert_form and validate_cert_form.

    Currently, it is only possible to generate CSR for USA.
    If you set other country in select list, field 'state' is disabled and you are obliged to fill form field with label ' State (other countries)' and name 'state_alt'.
    Unfortunately, validate_cert_form is throwing an error because of empty 'state' field.

    Please, help me to resolve this problem or correct me if I am wrong.

    With regards,
    MR
     
  2. dkolvakh

    dkolvakh Odin Team

    Messages:
    337
    Hello.

    Please use validate_csr method in your plugin to make additional checks for state_alt.
    You can refer to PBAS SSL plugins code for future references.
     

Share This Page