remove meta mtls parse mode
as we have successfully merged patches that enable UserPrincipalName
parse mode, we can start removing Meta only parse mode. This commit
is intended to remove MTLSCommonNameParseMode::Meta from the upstream
code
Tested:
- build bmcweb
- deploy to a device that already use UPN
- check if it works fine by sending curl request /AccountService
Change-Id: Idcf4340a2a9940f035aea41cd30ef4df7bd95530
Signed-off-by: Malik Akbar Hashemi Rafsanjani <malikrafsan@meta.com>
diff --git a/meson.options b/meson.options
index 981fa8b..77aa237 100644
--- a/meson.options
+++ b/meson.options
@@ -250,11 +250,9 @@
option(
'mutual-tls-common-name-parsing-default',
type: 'combo',
- choices: ['CommonName', 'Whole', 'UserPrincipalName', 'Meta'],
- description: '''
- Parses the Subject CN in the format used by
- Meta Inc (see mutual_tls_meta.cpp for details)
- ''',
+ choices: ['CommonName', 'Whole', 'UserPrincipalName'],
+ description: '''Default MTLS parse mode to get username from the
+ client's x509 certificate''',
)
# BMCWEB_META_TLS_COMMON_NAME_PARSING