On 16/03/2023 01:22, Arnold Somogyi wrote:
Hello,

I am building a docker image with easy-rsa based on the alpine Docker image. When I run the ./easyrsa init-pki command then I get the following error:

Easy-RSA error:
easyrsa_random failed

Easy-RSA error:
secure_session - random_session ''

EasyRSA Version Information
Version:     3.1.2
Generated:   Fri Jan 13 15:49:32 CST 2023
SSL Lib:
Git Commit:  354c20d82bdc5db364e197aa1290e84b46abe487
Source Repo: https://github.com/OpenVPN/easy-rsa <https://github.com/OpenVPN/easy-rsa>
Host: 3.1.2 | nix | Linux | /bin/bash

I think that I get this error because there is almost nothing installed in this linux image and the required tools/commands are missing.

Even though I honestly don't see the value of dockerizing Easy-RSA, I gave it a quick test run using 'podman run -it alpine:latest'.

I had to install the openssl package, and the 'easyrsa init-pki' kicked off without issues.

But I'm really curious why you find it valuable to dockerize Easy-RSA.


--
kind regards,

David Sommerseth
OpenVPN Inc




_______________________________________________
Openvpn-users mailing list
Openvpn-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openvpn-users

Reply via email to