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

Pem password when adding vpn user #85

Closed
kingcatdaan opened this issue Sep 22, 2016 · 3 comments
Closed

Pem password when adding vpn user #85

kingcatdaan opened this issue Sep 22, 2016 · 3 comments

Comments

@kingcatdaan
Copy link

kingcatdaan commented Sep 22, 2016

i get this error no matter what i do

root@Anna:~# pivpn add
Enter a Name for the Client: daan
NOTE: If you run ./clean-all, I will be doing a rm -rf on /etc/openvpn/easy-rsa/keys
Enter the password for the Client:
Enter the password again to verify:
spawn ./build-key-pass daan
Generating a 4096 bit RSA private key
....................................................................................................................++
......................................................................++
writing new private key to 'daan.key'
Enter PEM pass phrase:
spawn openssl rsa -in daan.key -des3 -out daan.3des.key
unable to load Private Key
3069334736:error:0906D06C:PEM routines:PEM_read_bio:no start line:pem_lib.c:696:Expecting: ANY PRIVATE KEY
expect: spawn id exp6 not open
while executing
"expect "Enter PEM pass phrase" { send "passwd\r" }"
[ERROR]: Client Public Key Certificate not found: daan.crt

@ghost
Copy link

ghost commented Sep 25, 2016

Hi,

I've got this error before. The only way I've "fixed" this is to repeat the same command again. Seems to work the second time round.

I've done this for two/three different users and each time it appears with a fault

After the second attempt on each user, I've not issues logging in or it appearing to be at fault

@michielvanhoorn
Copy link

I have this issue too but doing it twice does not help.

@BOZG
Copy link

BOZG commented Oct 3, 2016

It worked fine for me when I first installed PiVPN. I need to uninstall and then reinstall and after that, this error kept appearing.

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

No branches or pull requests

4 participants