Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

create user failed #174

Closed
albarki opened this issue Dec 12, 2022 · 1 comment
Closed

create user failed #174

albarki opened this issue Dec 12, 2022 · 1 comment

Comments

@albarki
Copy link

albarki commented Dec 12, 2022

Hi All,

Thanks for that great tool, I loved it, but I do have one issue, so I have secured my openvpn private key ca.key with a passphrase, and when I try to create a new account from the ovpn-admin it failed due to missing passphrase for private key, is there is a way I can pass this ?

INFO[0231] 104.28.228.187:40148 /api/user/create
DEBU[0231] cd /etc/openvpn/easy-rsa/ && easyrsa build-client-full ibrahim nopass 1>/dev/null
Enter pass phrase for /etc/openvpn/easy-rsa/pki/private/ca.key:
DEBU[0232] exit status 1 : -----
Using configuration from /etc/openvpn/easy-rsa/pki/easy-rsa-1249772.3C7LMO/tmp.4wNFVQ
Could not read CA private key from /etc/openvpn/easy-rsa/pki/private/ca.key
40F796A6C67F0000:error:1608010C:STORE routines:ossl_store_handle_load_result:unsupported:../crypto/store/store_result.c:151:
40F796A6C67F0000:error:1C800064:Provider routines:ossl_cipher_unpadblock:bad decrypt:../providers/implementations/ciphers/ciphercommon_block.c:124:
40F796A6C67F0000:error:11800074:PKCS12 routines:PKCS12_pbe_crypt_ex:pkcs12 cipherfinal error:../crypto/pkcs12/p12_decr.c:86:empty password

Easy-RSA error:

signing failed (openssl output above may have more detail)

Easy-RSA error:

Failed to sign 'ibrahim'
@pashcovich
Copy link
Contributor

this possibility is not provided

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants