Skip to content

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.

{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".

/* 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