[Bug 258827] security/step-certificates: step-ca fails to start in the init process included SSH certs

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 01 Oct 2021 08:23:36 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=258827

--- Comment #1 from Markus Wipp <mw@wipp.bayern> ---
Hi Adam, 

unfortunately I have not been able to reproduce your issue #1. Is there
anything else you might have changed from the default installation?

Regarding #2 I fixed the init script in the newest version 0.17.4 of
step-certificates and also added --ssh to the init-command. If you want to
modify this by hand before it's committed:

@@ -59,8 +59,10 @@ step_ca_startprecmd()
                echo "No configured Step CA found."
                echo "Creating new one...."
                export STEPPATH=${step_ca_steppath}
-               %%PREFIX%%/bin/step ca init
+               %%PREFIX%%/bin/step ca init --ssh
                chown -R ${step_ca_user}:${step_ca_group} ${step_ca_steppath}
+       else
+               export STEPPATH=${step_ca_steppath}
        fi

        if [ ! -e ${step_ca_password} ]; then

If you need further help, please let me know.

Thanks
Markus

-- 
You are receiving this mail because:
You are the assignee for the bug.