Conversation
Introduce a CertificateProviderManager to parse the certificate_provider_instances config and instantiate certificate providers. Signed-off-by: Luyao Zhong <luyao.zhong@intel.com>
* rename default_cert_provider to static_cert_provider * nest struct Certpair inside of the CertificateProvider class * avoid the copy of certificate provider config * update CertificateProvider interfaces * fix format_pre CI failure Signed-off-by: Luyao Zhong <luyao.zhong@intel.com>
Signed-off-by: Luyao Zhong <luyao.zhong@intel.com>
Signed-off-by: Luyao Zhong <luyao.zhong@intel.com>
Signed-off-by: Luyao Zhong <luyao.zhong@intel.com>
Signed-off-by: Luyao Zhong <luyao.zhong@intel.com>
StaticCertificateProvider supports generating identity certificates, it is supposed to be renamed later. Signed-off-by: Luyao Zhong <luyao.zhong@intel.com>
Signed-off-by: Luyao Zhong <luyao.zhong@intel.com>
DefaultCertificateProvider supports generating certificates for handshake which shows how CertificateProvider asynchronous interfaces work. Signed-off-by: Luyao Zhong <luyao.zhong@intel.com>
…r-instances Signed-off-by: Luyao Zhong <luyao.zhong@intel.com>
…allbacks Signed-off-by: Luyao Zhong <luyao.zhong@intel.com>
…r-instances Signed-off-by: Luyao Zhong <luyao.zhong@intel.com>
…r-instances Signed-off-by: Luyao Zhong <luyao.zhong@intel.com>
implement ca_certificate_provider_instance in CertificateValidationContext implement tls_certificate_provider_instance in CommonTlsContext Signed-off-by: Luyao Zhong <luyao.zhong@intel.com>
…r-instances Signed-off-by: Luyao Zhong <luyao.zhong@intel.com>
Signed-off-by: Luyao Zhong <luyao.zhong@intel.com>
consider current implementation for tls certificate config loading, certificate provider shoule provide at least one tls certificate, otherwise the Envoy will complain when loading the config. Signed-off-by: Luyao Zhong <luyao.zhong@intel.com>
Signed-off-by: Luyao Zhong <luyao.zhong@intel.com>
Signed-off-by: Luyao Zhong <luyao.zhong@intel.com>
Signed-off-by: LeiZhang <lei.a.zhang@intel.com>
|
Hi @liverbirdkte, welcome and thank you for your contribution. We will try to review your Pull Request as quickly as possible. In the meantime, please take a look at the contribution guidelines if you have not done so already. |
|
CC @envoyproxy/api-shepherds: Your approval is needed for changes made to |
Signed-off-by: lei zhang <lei.a.zhang@intel.com>
|
Hi @liverbirdkte Would you be able to share a sample envoy config that I could use to try this out locally ? I tried out the following But envoy fails to start with following error |
Found the issue. I was able to load the extension successfully after adding the missing |
Hi vermajit, Sorry for not seeing this in time, this is a draft of local cert provider instance and not totally ready. You have to integrate with other patches to make it work. We are going to submit a PR to include all the related patches together for testing. I'll ping you when the code is ready. Thanks. |
|
This pull request has been automatically marked as stale because it has not had activity in the last 30 days. It will be closed in 7 days if no further activity occurs. Please feel free to give a status update now, ping for review, or re-open when it's ready. Thank you for your contributions! |
|
This pull request has been automatically marked as stale because it has not had activity in the last 30 days. It will be closed in 7 days if no further activity occurs. Please feel free to give a status update now, ping for review, or re-open when it's ready. Thank you for your contributions! |
|
This pull request has been automatically closed because it has not had activity in the last 37 days. Please feel free to give a status update now, ping for review, or re-open when it's ready. Thank you for your contributions! |
Local certificate provider instance
A certificate provider instance to generate certificates locally. It's based on the certificate provider framework and bumping filter could use this instance for testing.
Commit Message:
Additional Description:
Risk Level:
Testing:
Docs Changes:
Release Notes:
Platform Specific Features:
[Optional Runtime guard:]
[Optional Fixes #Issue]
[Optional Fixes commit #PR or SHA]
[Optional Deprecated:]
[Optional API Considerations:]