Skip to content
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

Draft
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

kareem-wolfssl
Copy link
Contributor

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.

@@ -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"},
Copy link
Contributor

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:
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants