Skip to content

Commit

Permalink
Merge pull request #699 from openziti/fix-allow-pkcs11-keys
Browse files Browse the repository at this point in the history
fix: enroll with pkcs11 key
  • Loading branch information
ekoby committed Aug 4, 2023
2 parents 7a398ee + 75fcb0e commit 50c2b8b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions programs/ziti-edge-tunnel/ziti-edge-tunnel.c
Original file line number Diff line number Diff line change
Expand Up @@ -2097,6 +2097,10 @@ static int parse_enroll_opts(int argc, char *argv[]) {
break;
case 'k':
enroll_opts.enroll_key = realpath(optarg, NULL);
if (enroll_opts.enroll_key == NULL) {
// may be pkcs11 key ref
enroll_opts.enroll_key = optarg;
}
break;
case 'c':
enroll_opts.enroll_cert = realpath(optarg, NULL);
Expand Down

0 comments on commit 50c2b8b

Please sign in to comment.