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 certificates with Docker #14

Open
Sengorius opened this issue Jan 16, 2022 · 0 comments
Open

Create certificates with Docker #14

Sengorius opened this issue Jan 16, 2022 · 0 comments
Labels
help wanted Extra attention is needed

Comments

@Sengorius
Copy link
Owner

An attempt was made, using a docker container to create the necessary SSL certificates. This would be useful on a Windows system, where openssl is not installed. But the printf (generate.sh at line 44) statement on the docker command line is a problem. The current attempt was bound to commit 6db0be3 and used following idea:

local SYSTEM_HAS_OPENSSL=`command -v openssl`
if [[ "1" == "$?" ]]; then
    print_warning "Openssl seems not to be installed on this machine. Trying to install with docker."
    RSA_COMMAND=docker\ run\ --user\ "$(id -u):$(id -g)"\ -i\ -v\ "${CERTS_PATH}:/export"\ "${OPENSSL_IMAGE}"\ openssl
    CERTS_PATH=/export
fi

See generate.sh at line 20 for details.

Maybe someone else knows a solution for this?

@Sengorius Sengorius added the help wanted Extra attention is needed label Jan 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant