Skip to content

SSL certificate problem #4241

@Xue-7137

Description

@Xue-7137

Contact Information

[email protected]

MaxKB Version

v2.2.1

Problem Description

问题描述:系统配置了OIDC认证后,使用SSL自签证书,将证书放到容器里自定义路径下、/etc/ssl/certs下、py默认路径下均报错:
{"code": 500, "message": "HTTPSConnectionPool(host='cnshaapt100.cn.kworld.kpmg.com', port=7001): Max retries exceeded with url: /connect/token (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1016)')))", "data": null}

Steps to Reproduce

系统配置了OIDC认证后,使用SSL自签证书,将证书放到容器里自定义路径下、/etc/ssl/certs下、py默认路径下

The expected correct result

No response

Related log output

{"code": 500, "message": "HTTPSConnectionPool(host='cnshaapt100.cn.kworld.kpmg.com', port=7001): Max retries exceeded with url: /connect/token (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1016)')))", "data": null}

Additional Information

No response

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions