Skip to content

Commit

Permalink
Fix "code:InvalidParameter.WithCaAttr" error.
Browse files Browse the repository at this point in the history
修复“[TencentCloudSDKException] code:InvalidParameter.WithCaAttr message:证书CA扩展属性错误”错误。
  • Loading branch information
mentalfl0w authored and zfb132 committed Dec 1, 2023
1 parent c7f9281 commit 9408c50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ def run_config_ssl(id, key, cer_file, key_file):
# fullchain.cer
"cer": tools.read_file(cer_file),
"key": tools.read_file(key_file),
"type": "CA"
"type": "SVR"
}
ssl_client = ssl.get_ssl_client_instance(id, key)
cert_list = ssl.get_cert_list(ssl_client)
Expand Down

0 comments on commit 9408c50

Please sign in to comment.