importing keys with softhsm
i want to generate an unencrypted key using openssl ( .pem format ) and import it with softhsm but I face this error :

Botan: Decoding error: PKCS #8 private key decoding failed
Error: Perhaps wrong path to file, wrong file format, or wrong PIN to file (--file-pin <PIN>).

(but path to the key is correct )
importing keys with softhsm
===

i want to generate an unencrypted key using openssl ( .pem format ) and import it with softhsm but I face this error :

Botan: Decoding error: PKCS #8 private key decoding failed
Error: Perhaps wrong path to file, wrong file format, or wrong PIN to file (--file-pin <PIN>).

(but path to the key is correct )