From 1712a8fa75d86a1794576cb1f843910b54b9e167 Mon Sep 17 00:00:00 2001 From: Alecio Furanze Date: Fri, 29 Sep 2023 00:27:59 +0200 Subject: [PATCH] ``fix english words`` Update ssl-tls.md --- docs/ssl-tls.md | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/docs/ssl-tls.md b/docs/ssl-tls.md index 9ad508dc..7bc36e5b 100644 --- a/docs/ssl-tls.md +++ b/docs/ssl-tls.md @@ -58,20 +58,22 @@ For use/enable ``SSL/TLS`` on ``Netly`` with ``TcpServer`` instance use code bel // Warning: See about generate pfx on SSL/TLS page now we will see about startup this! // Warning: Convert pfx file for bytes only using UTF8 for prevent erros - byte[] pfx = .(); + byte[] pfx = .(); string pfxPassword = .(); // Enable SSL/TLS TcpServer.UseEncryption(pfx, pfxPassword, SslProtocols.Tls12); // TLS v1.2 - // If password or PFX buffer is invalid you will receive error message on callback)> +#if false + If password or PFX buffer is invalid you will receive error message on callback)> +#endif ``` ## Create PFX (PKCS #12) * Requirement ``OpenSSL`` - linux: Use package manager - Ubuntu: ``sudo apt install openssl`` or ``sudo apt install libssl-dev`` - - Windows: - - Download windows: https://wiki.openssl.org/index.php/Binaries - - Add OpenSSL folder on ``path`` (``Environment Variables``) - - Generate ``PFX (PKCS #12)``: https://www.ibm.com/docs/en/api-connect/10.0.x?topic=overview-generating-self-signed-certificate-using-openssl \ No newline at end of file + - Windows: + - Download windows: https://wiki.openssl.org/index.php/Binaries + - Add OpenSSL folder on ``path`` (``Environment Variables``) + - Generate ``PFX (PKCS #12)``: https://www.ibm.com/docs/en/api-connect/10.0.x?topic=overview-generating-self-signed-certificate-using-openssl