Lines Matching refs:cert
1 # $OpenBSD: cert-file.sh,v 1.8 2019/11/26 23:43:10 djm Exp $
32 mv $OBJ/user_key1-cert.pub $OBJ/cert_user_key1_1.pub
36 mv $OBJ/user_key1-cert.pub $OBJ/cert_user_key1_2.pub
49 echo "cert-authority $(cat $OBJ/user_ca_key1.pub)" > $OBJ/authorized_keys_$USER
57 # Key with no .pub should work - finding the equivalent *-cert.pub.
58 verbose "identity cert with no plain public file"
66 -oCertificateFile=$OBJ/user_key3-cert.pub \
78 # Keys with untrusted cert should fail.
79 verbose "untrusted cert"
84 fail "ssh succeeded with bad cert"
87 # Good cert with bad key should fail.
88 verbose "good cert, bad key"
97 # Keys with one trusted cert, should succeed.
103 fail "ssh failed with trusted cert and key"
106 # Multiple certs and keys, with one trusted cert, should succeed.
144 fail "ssh connect with agent in succeeded with no cert"
151 fail "ssh connect with agent in succeeded with bad cert"
158 fail "ssh connect with agent in failed with good cert"