Unable to accept EC private key

Issue #979 new
Skyler Mäntysaari created an issue

It seems that the frontend doesn’t understand that private key that beings with -----BEGIN EC PRIVATE KEY----- is in fact valid.

To reproduce:

1. Create EC certificate outside of the app
2. Try to import it
3. See it fail on private key due to validation error.

Comments (3)

  1. West Farmer

    I have dig into source code, found it’s hard coded for RSA, you can have a temp fix as I do.
    patch the source code, just skip the cert validation.
    /opt/admin/src/Base/Config/Certificate.php

  2. Log in to comment