Skip to content

Create certificates with Docker #14

@Sengorius

Description

@Sengorius

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions