Skip to content

Commit 003d00d

Browse files
Release 2.0b5 (#210)
* PLAT-10936 update documentation for certificate authentication (#203) - We support only pem files with no password - Document the way to convert pfx file to pem file * PLAT-10936: Fix typo in markdown (#204) * bump 2.0b5 version Co-authored-by: symphony-youness <76746033+symphony-youness@users.noreply.github.com>
1 parent eab16ef commit 003d00d

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

docsrc/markdown/authentication.md

+7-1
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,17 @@ bot:
3838
certificate:
3939
path: /path/to/certificate.pem
4040
```
41-
4241
To know more about the format of the certificate file, check [SSLContext.load_cert_chain](https://docs.python.org/3/library/ssl.html#ssl.SSLContext.load_cert_chain).
4342
The certificate path will be passed to the `certfile` parameter of the `load_cert_chain_method`. We do not pass anything
4443
to `keyfile` and `password` parameters, which means certificate and decrypted private key should be put in the same file.
4544

45+
The certificate path should lead to a single file in PEM format containing the certificate and the decrypted private key.
46+
We do not support password encrypted private keys.
47+
48+
Alternatively, if you have a `.pfx` file, you can use the OpenSSL Command line tool to convert it to `.pem` format:
49+
```bash
50+
openssl pkcs12 -in certificate.pfx -out certificate.pem -nodes
51+
```
4652

4753
### Bot authentication deep-dive
4854
The code snippet below explains how to manually retrieve your bot authentication session. However, note that by default

pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "sym_api_client_python"
3-
version = "2.0b4"
3+
version = "2.0b5"
44
description = "Symphony Bot Development Kit for Python"
55
readme = "README.md"
66
authors = ["Symphony Platform Solutions <platformsolutions@symphony.com>"]

0 commit comments

Comments
 (0)