Sv translation | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
IntroductionSSL or TLS Certificates are a known industry standard for encryption and security. They are used on basically every website today. This page aims to explain the different scenarios of implementing SSL Certificates on your jtel acd, as well as provide a walkthrough on how to do the installation itself.
Your jtel ACD With SSLAccess to your jtel ACD can be secured by SSL. A certificate is installed on the jtel Load Balancer to enable SSL-Encryption when accessing either your jtel portal, Chat or WhatsApp API, REST or SOAP API. In short anything you want to make available securely via the public internet. There are some differences depending on the location of your system. If you have purchased a license within the jtel Cloud environment, your certificate will be provided and managed by jtel year-round. However, for example on On Premise systems, you will have to provide your own SSL-Certificate. As for our Partners Cloud systems, the certificate might be provided by you, or our partner. jtel CloudThe certificate is provided by jtel and managed year-round. jtel Partner CloudOn the cloud systems of our partners, the certificate will either be provided by our partner, or by you. jtel On PremiseThe certificate will be provided by you. PreparationsIf you are providing the SSL certificate for your jtel installation, the following things described below are required.
Naming the Website / DNSBefore acquiring a new certificate or using a preexisting one, a name for the jtel Portal website must be chosen. This DNS-Name Our example name is jtel.example.com This name must then be created configured in your Public DNS-Zone like (Azure DNS, Google DNS, or Google Public DNS the DNS of your internet provider) to ensure that it will be accessible by via the public internet. The Alias traffic to this internet domain name will be routed to your gateway / firewall / router which handles your external IP address. The IP-Address below will be the Public IP-Address of your Gateway. This Gateway will route the incoming requests to the jtel Load Balancer. The DNS-Entry will look something like this:gateway / firewall. The record type "A" indicates an "Address Record" and it is used to point the subdomain jtel.example.com to the IP address of the gateway / firewall / router.
Routing https requestsThe gateway / firewall / router will need to be configured to route incoming https requests to port 443 to the internal IP address of the jtel load balancer. This is usually achieved using 1:1 or Port Forwarding rules in the gateway / firewall concerned (how exactly to do this may vary from manufacturer to manufacturer and is not discussed in this article). The certificate will be installed on the jtel load balancer which will After creating the public DNS-Entry, all https requests made to acd.johntelephony.com will be routed through the public internet to your Gateway xx.xxx.xx.xxx. The gateway must then be configured to forward the https-requests to the jtel load balancer in your internal network via https. The jtel Load Balancer, where the certificate is installed, will then decrypt the https-request and route the traffic to the webserver or chatserver internallyusing http. A simplified explanation of the route could look as follows:
SSL Certificate ChainAn SSL certificate chain consists of several parts which form a chain of certificates.
The server certificate contains the server's public key, which can be used to encrypt information which only the server will be able to decrypt (at least today, 11.07.2023, that is still the case but improvements in quantum computing may change this in the future ...). The verification of the certificate chain uses the reverse direction:
The full certificate chain is required for installation. This consists of more than one section:The full SSL-Certificate Chain is required for installation.
TLSThe last step is using TLS to establish secure communications. This is a short explanation of how this works (by no means technically complete - there are plenty of good references out there if you really want to find out exactly how it works, however this explanation captures the essence of what is happening):
InstallationIf your system previously had no certificate installed and was running via http, start here. If you are exchanging your certificate before its expiry and your jtel ACD was configured for https before, start here.
Change the haproxy configuration to httpsFor systems with one Load Balancer and HAProxy use this. For redundant systems with two Load Balancers and HaProxys use this.
Create the haproxy.pem fileThe certificate chain will be put together with a simple cat command in Linux.
TestsAfter finishing, test access with your new https URL. Example URL Adminhttps://acdjtel.johntelephonyexample.com/CarrierPortal/admin Example URL Clienthttps://acdjtel.johntelephonyexample.com/CarrierPortal/login/<ResellerUID>/<ClientUID> Further InformationFurther information regarding security and encryption can be found on these pages: SSL/TLS Certificates - Self-signed certificate SSL/TLS Certificates - Let's Encrypt Certificate SSL/TLS Certificates - OCSP stapling SSL/TLS Certificates - Connecting to the outside world SSL/TLS Certificates - Configure haproxy for several subdomains Useful openssl commandsopenssl can be used to for example ensure that the end_entity_cetificate.crt and private_key.key match. It can also be used to ensure that the private key is not corrupted and to check the validity of the certificate itself. Use the following commands if needed: Checking the private key
End entity and private key match
Checking the certificate validity
Converting .pfx Certificates to .pem format
|
Sv translation | ||
---|---|---|
| ||
Sv translation | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
EinführungSSL- oder TLS-Zertifikate sind ein bekannter Industriestandard für Verschlüsselung und Sicherheit. Sie werden heute auf praktisch jeder Website verwendet. Auf dieser Seite werden die verschiedenen Szenarien für die Implementierung von SSL-Zertifikaten mit Ihrer jtel ACD erläutert und eine Anleitung für die Installation gegeben.
Ihre jtel ACD Mit SSLDer Zugang zu Ihrer jtel ACD kann durch SSL gesichert werden. Ein Zertifikat wird auf dem jtel Load Balancer installiert, um SSL-Verschlüsselung beim Zugriff auf Ihr jtel Portal, Chat oder WhatsApp API, REST oder SOAP API zu ermöglichen. Kurz gesagt, alles, was Sie sicher über das öffentliche Internet zugänglich machen wollen. Je nach Standort Ihres Systems gibt es einige Unterschiede. Wenn Sie eine Lizenz in der jtel Cloud-Umgebung erworben haben, wird Ihr Zertifikat das ganze Jahr über von jtel bereitgestellt und verwaltet. Bei On-Premise-Systemen müssen Sie jedoch Ihr eigenes SSL-Zertifikat bereitstellen. Bei den Cloud-Systemen unserer Partner kann das Zertifikat von Ihnen oder von unserem Partner bereitgestellt werden. jtel CloudDas Zertifikat wird von jtel bereitgestellt und ganzjährig verwaltet. jtel Partner CloudBei den Cloud-Systemen unserer Partner wird das Zertifikat entweder von unserem Partner oder von Ihnen bereitgestellt. jtel On PremiseDas Zertifikat wird von Ihnen zur Verfügung gestellt. VorbereitungWenn Sie das SSL-Zertifikat für Ihre jtel-Installation zur Verfügung stellen, sind die folgenden Dinge erforderlich, die im Folgenden beschrieben werden.
Benennen der Website / DNSBevor Sie ein neues Zertifikat erwerben oder ein bereits vorhandenes verwenden, müssen Sie einen Namen für die Website des jtel Portals wählen. Unser Beispielname ist jtel.beispiel.com Dieser Name muss dann in Ihrer öffentlichen DNS-Zone (Azure DNS, Google DNS oder das DNS Ihres Internet-Providers) konfiguriert werden, um sicherzustellen, dass der Datenverkehr zu diesem Internet-Domain-Namen zu Ihrem Gateway/Firewall/Router geleitet wird, der Ihre externe IP-Adresse verwaltet. Die unten stehende IP-Adresse ist die öffentliche IP-Adresse Ihres Gateways / Ihrer Firewall. Der Eintragstyp "A" steht für einen "Adresseintrag" und wird verwendet, um die Subdomain jtel.beispiel.com auf die IP-Adresse des Gateways / der Firewall / des Routers zu verweisen.
Routen von https AnfragenDas Gateway / die Firewall / der Router muss so konfiguriert werden, dass eingehende https-Anfragen an Port 443 an die interne IP-Adresse des jtel Load Balancer weitergeleitet werden. Dies wird in der Regel durch 1:1 oder Port-Weiterleitungsregeln im betreffenden Gateway / in der Firewall erreicht (wie genau dies zu bewerkstelligen ist, kann von Hersteller zu Hersteller variieren und wird in diesem Artikel nicht behandelt). Das Zertifikat wird auf dem jtel Load Balancer installiert, der die https-Anfrage entschlüsselt und den Datenverkehr per http an den Webserver, Chatserver etc. weiterleitet. Eine vereinfachte Erklärung der Route könnte wie folgt aussehen:
SSL ZertifikatsketteEine SSL-Zertifikatskette besteht aus mehreren Teilen, die eine Kette von Zertifikaten bilden.
Das Serverzertifikat enthält den öffentlichen Schlüssel des Servers, mit dem Informationen verschlüsselt werden können, die nur der Server entschlüsseln kann (zumindest ist das heute, am 11.07.2023, noch der Fall, aber Verbesserungen im Quantencomputing könnten dies in Zukunft ändern ...). Die Überprüfung der Zertifikatskette erfolgt in umgekehrter Richtung:
Die vollständige Zertifikatskette ist für die Installation erforderlich. Diese besteht aus mehr als einem Abschnitt:
TLSDer letzte Schritt ist die Verwendung von TLS, um eine sichere Kommunikation herzustellen. Dies ist eine kurze Erläuterung der Funktionsweise (keineswegs technisch vollständig - es gibt viele gute Referenzen, wenn Sie wirklich herausfinden wollen, wie es genau funktioniert, aber diese Erklärung fasst das Wesentliche zusammen, was passiert):
InstallationWenn ihr System zuvor kein Zertifikat installiert hatte und über http lief, beginnen Sie hier. Wenn Sie Ihr Zertifikat vor dessen Ablauf austauschen und Ihre jtel ACD zuvor für https konfiguriert war, beginnen Sie hier
Ändern Sie die Haproxy-Konfiguration auf httpsFür Systeme mit einem Load Balancer und HAProxy verwenden Sie dies. Für redundante Systeme mit zwei Load Balancern und HaProxys verwenden Sie dies.
haproxy.pem Datei erstellenDie Zertifikatskette wird unter Linux mit einem einfachen cat-Befehl zusammengestellt.
TestsTesten Sie anschließend den Zugriff mit Ihrer neuen https-URL. Beispiel URL Adminhttps://jtel.example.com/CarrierPortal/admin BeispielURL Clienthttps://jtel.example.com/CarrierPortal/login/<ResellerUID>/<ClientUID> Weitere InformationWeitere Informationen zu Sicherheit und Verschlüsselung finden Sie auf diesen Seiten: SSL/TLS Certificates - Self-signed certificate SSL/TLS Certificates - Let's Encrypt Certificate SSL/TLS Certificates - OCSP stapling SSL/TLS Certificates - Connecting to the outside world SSL/TLS Certificates - Configure haproxy for several subdomains Nützliche openssl-Befehleopenssl kann zum Beispiel verwendet werden, um sicherzustellen, dass end_entity_cetificate.crt und private_key.key übereinstimmen. Es kann auch verwendet werden, um sicherzustellen, dass der private Schlüssel nicht beschädigt ist, und um die Gültigkeit des Zertifikats selbst zu überprüfen. Verwenden Sie bei Bedarf die folgenden Befehle: Prüfen des privaten Schlüssels
Endteilnehmer und privater Schlüssel stimmen überein
Überprüfung der Gültigkeit des Zertifikats
Konvertierung von .pfx-Zertifikaten in das .pem-Format
|