Id like to be able to create client keys for an openvpn setup from within a ruby script. Im wondering how to go about this.
Im assuming i coudl create my own CA and key generation code in ruby. Or i could somehow just call the easy-rsa scripts (non-ruby) from within my ruby script and somehow simulate the keyboard when easy-rsa prompts for client details.
Experience in either scenario is limited so was hoping someone could pass some tips,links,code.