Imports github.com/pkg/errors github.com/smallstep/cli/crypto/pemutil github.com/smallstep/cli/utils github.com/smallstep/cli/pkg/x509 github.com/smallstep/cli/errs github.com/smallstep/cli/crypto/keys Standard library imports crypto/rand crypto/tls crypto/x509 errors fmt io/ioutil math/big net os path/filepath strings time crypto/x509/pkix encoding/pem crypto crypto/sha1