-
Notifications
You must be signed in to change notification settings - Fork 88
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for loading user CA certs from a configurable Windows cert store. #688
base: master
Are you sure you want to change the base?
Conversation
ed28b13
to
09027ea
Compare
apps/wolfsshd/configuration.c
Outdated
@@ -377,7 +390,12 @@ static const CONFIG_OPTION options[NUM_OPTIONS] = { | |||
{OPT_FORCE_CMD, "ForceCommand"}, | |||
{OPT_HOST_CERT, "HostCertificate"}, | |||
{OPT_TRUSTED_USER_CA_KEYS, "TrustedUserCAKeys"}, | |||
{OPT_TRUSTED_SYSTEM_CA_KEYS, "TrustedSystemCAKeys"}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For these new SSHD configuration options, are there OpenSSH server configuration option names for these? The items in this list are configuration items listed in sshd_config. If they aren't specifically on a list, we should prefix these with "wolfSSH".
@@ -1019,9 +1037,24 @@ static int HandleConfigOption(WOLFSSHD_CONFIG** conf, int opt, | |||
/* TODO: Add logic to check if file exists? */ | |||
ret = wolfSSHD_ConfigSetUserCAKeysFile(*conf, value); | |||
break; | |||
case OPT_TRUSTED_SYSTEM_CA_KEYS: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Windows specific stuff should have a guard around it.
09027ea
to
1bc11e9
Compare
8e4feb2
to
3d6762a
Compare
Add support for loading user CA certs from a configurable Windows cert store.
Depends on PR #577 and wolfSSL/wolfssl#7503
Draft for now, do not merge until customer confirms it works. Just looking for review + PR tests.