Generate hashed password

Post your questions about SoftEther VPN software here. Please answer questions if you can afford.
Post Reply
boro
Posts: 6
Joined: Wed Jun 06, 2018 5:29 pm

Re: Generate hashed password

Post by boro » Tue Jul 03, 2018 5:43 pm

Sorry to resurrect an old thread but I'm running into the same question right now.

I want to genereate a vpn_server.config file remotely via an ansible playbook. I can set most variables just fine but I'm unable to figure out how the admin pass is generated (i'd like to set a random admin pass for each new installation).

Any ideas?

cedar
Site Admin
Posts: 2070
Joined: Sat Mar 09, 2013 5:37 am

Re: Generate hashed password

Post by cedar » Wed Jul 04, 2018 9:13 am

This is dirty way but works.

on vpncmd command line:
ServerPasswordSet foobar
ConfigGet filename

Please do not forget to restore the original password at the end.

Post Reply