{"id":41878,"date":"2020-02-17T11:17:20","date_gmt":"2020-02-17T08:17:20","guid":{"rendered":"https:\/\/prohoster.info\/blog\/blog_prohoster\/telegram-1s-vebhuki-apach-samopodpisannyj-sertifikat"},"modified":"2020-02-17T11:17:20","modified_gmt":"2020-02-17T08:17:20","slug":"telegram-1s-vebhuki-apach-samopodpisannyj-sertifikat","status":"publish","type":"post","link":"https:\/\/prohoster.info\/de\/blog\/telegram-1s-vebhuki-apach-samopodpisannyj-sertifikat","title":{"rendered":"Telegram + 1C + Webhooks + Apache + Selbstsigniertes Zertifikat","gt_translate_keys":[{"key":"rendered","format":"text"}]},"content":{"rendered":"<p>Es wurden viele Zeilen \u00fcber die Integration von Telegram und 1C geschrieben. Doch ich habe nirgends eine vollst\u00e4ndige Anleitung zur Installation und Konfiguration von Webhooks gefunden. Ich werde versuchen, sie zu erstellen.<\/p>\n<p>Daf\u00fcr ben\u00f6tigen wir (oder richtiger gesagt, was ich verwendet habe): <\/p>\n<ol>\n<li>Apache 2.2.24<\/li>\n<li>OpenSSL (Teil der Apache-Installation)<\/li>\n<li>1C (mit Modulen) <a class=\"wpil_keyword_link\" href=\"https:\/\/prohoster.info\/de\/server\/\"   title=\"Webserver\" data-wpil-keyword-link=\"linked\"  data-wpil-monitor-id=\"1173\">Webserver<\/a>)<\/li>\n<li>Eigene Domain <\/li>\n<li>Erstellter Bot in Telegram (ich werde die Erstellung nicht beschreiben, da sie ziemlich trivial ist)<\/li>\n<\/ol>\n<p>\nEs wird vorausgesetzt, dass die gesamte Software auf Ihrem System installiert ist.<br \/>\n<noindex><a rel=\"nofollow\" name=\"habracut\"><\/a><\/noindex><br \/>\nAlso, beginnen wir mit der Erstellung des Zertifikats. \u00d6ffnen Sie die Eingabeaufforderung und f\u00fchren Sie den folgenden Befehl aus:<\/p>\n<pre><code class=\"bash\">openssl req -newkey rsa:2048 -sha256 -nodes -keyout YOURPRIVATE.key -x509 -days 365 -out YOURPUBLIC.pem -subj &quot;\/C=US\/ST=New York\/L=Brooklyn\/O=Example Brooklyn Company\/CN=YOURDOMAIN.EXAMPLE&quot;<\/code><\/pre>\n<p>\nWobei: <\/p>\n<p>YOURPRIVATE.key \u2014 der private Schl\u00fcssel des Zertifikats. Wird in Apache verwendet.<\/p>\n<p>YOURPUBLIC.pem \u2014 der \u00f6ffentliche Schl\u00fcssel des Zertifikats. Wird bei der Registrierung des Webhooks verwendet.<\/p>\n<p>YOURDOMAIN.EXAMPLE \u2014 die Adresse Ihrer Domain mit dem Webhook. Diese muss mit der Adresse des Webhooks \u00fcbereinstimmen!!!<\/p>\n<p>Nach der Ausf\u00fchrung dieses Codes erscheinen die Schl\u00fcsseldateien im OpenSSL-Ordner (bei mir ist es \u201eC:\\Program Files\\Apache Software Foundation\\Apache2.2\\bin\u201c). <\/p>\n<p>Ich habe sie in den conf-Ordner von Apache kopiert.<\/p>\n<p>Wir beginnen mit der Konfiguration von Apache.<\/p>\n<p>Ich habe viele verschiedene Ans\u00e4tze gesehen. Folgender hat bei mir funktioniert:<\/p>\n<p>In httpd.conf wurden folgende Zeilen hinzugef\u00fcgt:<\/p>\n<pre><code class=\"bash\">Listen 443 <\/code><\/pre>\n<p>\ndamit Apache den Port 443 'h\u00f6rt'.<\/p>\n<p>Der Block  sieht wie folgt aus:<\/p>\n<pre><code class=\"apache\">SSLMutex default\nSSLSessionCache none<\/code><\/pre>\n<p>\nAm Ende wurden die Zeilen hinzugef\u00fcgt, in denen ich die Pfade zum Zertifikat angebe:<\/p>\n<pre><code class=\"apache\">SSLEngine On\nSSLCertificateFile conf\/YOURPUBLIC.pem\nSSLCertificateKeyFile conf\/YOURPRIVATE.key<\/code><\/pre>\n<p>\nUnd kommentieren Sie die Zeile aus: <\/p>\n<pre><code class=\"apache\">LoadModule ssl_module modules\/mod_ssl.so <\/code><\/pre>\n<p>\nIn der Konfiguration erstellen wir einen HTTP-Service. Dieser wird die Telegram-Nachrichten empfangen und deren Anfragen bearbeiten.<\/p>\n<p>In meinem Fall wurden folgende Parameter angegeben:<\/p>\n<p>Name: TGBWebhook<br \/>\nRoot-URL: webhook<br \/>\nWiederverwendung von Sitzungen: <b>Nicht verwenden <\/b>(im automatischen Modus hat es bei mir nicht funktioniert)<br \/>\nLebensdauer: 20<br \/>\nURL-Vorlagen: eine Vorlage 'Beliebig' mit zwei Methoden: GET und POST wurde erstellt.<\/p>\n<p><img decoding=\"async\" alt=\"Telegram + 1C + Webhooks + Apache + Selbstsigniertes Zertifikat\" src=\"\/wp-content\/uploads\/2020\/02\/fe55005319b7fa3b3c50b040291a7eae.jpeg\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n<br \/>\n<img decoding=\"async\" alt=\"Telegram + 1C + Webhooks + Apache + Selbstsigniertes Zertifikat\" src=\"\/wp-content\/uploads\/2020\/02\/7375ddf9212ee929af7220ed7e40653e.jpeg\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n<br \/>\n<img decoding=\"async\" alt=\"Telegram + 1C + Webhooks + Apache + Selbstsigniertes Zertifikat\" src=\"\/wp-content\/uploads\/2020\/02\/dd662f1050423d34a770b5674d1c8cca.jpeg\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n<br \/>\nDie Methoden-Handler werden standardm\u00e4\u00dfig erstellt. In den POST-Handler f\u00fcge ich das Folgende ein, einfach um die Verbindung zu \u00fcberpr\u00fcfen:<\/p>\n<pre><code class=\"1c\">\u0424\u0443\u043d\u043a\u0446\u0438\u044f \u041b\u044e\u0431\u043e\u0439POST(\u0417\u0430\u043f\u0440\u043e\u0441)\n\n\t\u0412\u044b\u0441\u043b\u0430\u0442\u044c\u0422\u0435\u0441\u0442\u043e\u0432\u043e\u0435\u0421\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435(&quot;&quot;); \/\/chat_id\n\t\u041e\u0442\u0432\u0435\u0442 = \u041d\u043e\u0432\u044b\u0439 HTTP\u0421\u0435\u0440\u0432\u0438\u0441\u041e\u0442\u0432\u0435\u0442(200);\n\t\u0412\u043e\u0437\u0432\u0440\u0430\u0442 \u041e\u0442\u0432\u0435\u0442;\n\t\n\u041a\u043e\u043d\u0435\u0446\u0424\u0443\u043d\u043a\u0446\u0438\u0438\n\n\n&amp;\u041d\u0430\u0421\u0435\u0440\u0432\u0435\u0440\u0435\n\u041f\u0440\u043e\u0446\u0435\u0434\u0443\u0440\u0430 \u0412\u044b\u0441\u043b\u0430\u0442\u044c\u0422\u0435\u0441\u0442\u043e\u0432\u043e\u0435\u0421\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435(\u0427\u0430\u0442)\n\t\n\t\t\u0421\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435 = &quot;\u0422\u0435\u0441\u0442\u043e\u0432\u043e\u0435 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435&quot;;\n\t\t\u0422\u043e\u043a\u0435\u043d = &quot;&quot;;\/\/\u0412\u0430\u0448 \u0442\u043e\u043a\u0435\u043d telegram\n\t\t\u0421\u0435\u0440\u0432\u0435\u0440 = &quot;api.telegram.org&quot;;\n\t    \u0420\u0435\u0441\u0443\u0440\u0441 = &quot;bot&quot; + \u0422\u043e\u043a\u0435\u043d + &quot;\/sendMessage?chat_id=&quot; + \u0421\u0442\u0440\u0417\u0430\u043c\u0435\u043d\u0438\u0442\u044c(\u0424\u043e\u0440\u043c\u0430\u0442(\u0427\u0430\u0442, &quot;\u0427\u0414\u0426=; \u0427\u0421=; \u0427\u0420\u0413=.&quot;), &quot;.&quot;, &quot;&quot;) + &quot;&amp;text=&quot; + \u0421\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435;\n   \t\t\u0421\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u0435  =  \u041d\u043e\u0432\u044b\u0439 HTTP\u0421\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u0435(\u0421\u0435\u0440\u0432\u0435\u0440,443,,,,,\u041d\u043e\u0432\u044b\u0439 \u0417\u0430\u0449\u0438\u0449\u0435\u043d\u043d\u043e\u0435\u0421\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u0435OpenSSL());\n\t\t\u0417\u0430\u043f\u0440\u043e\u0441 = \u041d\u043e\u0432\u044b\u0439 HTTP\u0417\u0430\u043f\u0440\u043e\u0441(\u0420\u0435\u0441\u0443\u0440\u0441);\n\t\t\u041e\u0442\u0432\u0435\u0442 = \u0421\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u0435.\u041f\u043e\u043b\u0443\u0447\u0438\u0442\u044c(\u0417\u0430\u043f\u0440\u043e\u0441);\n\t\n\u041a\u043e\u043d\u0435\u0446\u041f\u0440\u043e\u0446\u0435\u0434\u0443\u0440\u044b<\/code><\/pre>\n<p>\nEs bleibt nur noch, die Datenbank zu ver\u00f6ffentlichen und den Webhook zu verkn\u00fcpfen.<\/p>\n<p>Die Ver\u00f6ffentlichung erfolgt wie immer, es m\u00fcssen nur die H\u00e4kchen bei der Ver\u00f6ffentlichung des HTTP-Services gesetzt werden:<\/p>\n<p><img decoding=\"async\" alt=\"Telegram + 1C + Webhooks + Apache + Selbstsigniertes Zertifikat\" src=\"\/wp-content\/uploads\/2020\/02\/8247848371a6381f7fee4ce21a57b6b0.jpeg\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n<br \/>\nIm letzten Schritt werden wir unser 1C mit Telegram verbinden. Ich habe daf\u00fcr eine einfache HTML-Seite mit folgendem Code verwendet:<\/p>\n<pre><code class=\"xml\">&lt;html&gt;\n&lt;body&gt;\n\n&lt;form action=&quot;https:\/\/api.telegram.org\/bot&lt;\u0417\u0434\u0435\u0441\u044c\u0414\u043e\u043b\u0436\u0435\u043d\u0411\u044b\u0442\u044c\u0422\u043e\u043a\u0435\u043d&gt;\/setwebhook&quot; method=&quot;post&quot; enctype=&quot;multipart\/form-data&quot;&gt;\n    Zertifikat zum Hochladen ausw&auml;hlen:\n    &lt;input type=&quot;file&quot; name=&quot;certificate&quot; id=&quot;fileToUpload&quot;&gt;\n\tURL: &lt;input type=&quot;text&quot; name=&quot;url&quot;  value=&quot;https:\/\/&lt;YOURWEBSITE&gt;\/&lt;YOUR_PHP_URL&gt;&quot;&gt;&lt;br&gt;\n    &lt;input type=&quot;submit&quot; value=&quot;Zertifikat hochladen&quot; name=&quot;submit&quot;&gt;\n&lt;\/form&gt;\n\n&lt;\/body&gt;\n&lt;\/html&gt;<\/code><\/pre>\n<p>\nIm Formular w\u00e4hlen Sie einfach den \u00f6ffentlichen Schl\u00fcssel aus und geben den vollst\u00e4ndigen Pfad zu unserem HTTP-Service ein. Ich erinnere daran, dass der vollst\u00e4ndige Pfad zum Service folgenderma\u00dfen aussehen wird: <\/p>\n<p><b><noindex><a rel=\"nofollow\" href=\"https:\/\/%D0%92%D0%B0%D1%88%D0%94%D0%BE%D0%BC%D0%B5%D0%BD\/%D0%98%D0%BC%D1%8F%D0%91%D0%B0%D0%B7%D1%8B\/hs\/%D0%98%D0%BC%D1%8F%D0%A1%D0%B5%D1%80%D0%B2%D0%B8%D1%81%D0%B0\/v1\/\">IhrDomain\/NameDatenbank\/hs\/NameService\/v1<\/a><\/noindex><br \/>\n<\/b><br \/>\nBitte treten Sie nicht mit den F\u00fc\u00dfen gegen den Code. Einige Dinge sind absichtlich hartcodiert, da dies ausschlie\u00dflich zu Demonstrationszwecken erstellt wurde.<\/p>\n<p>Dieser Beitrag wurde verfasst, da ich kein funktionierendes Beispiel f\u00fcr die Arbeit mit Webhooks auf der Website finden konnte, au\u00dfer dem Telegram Bot Builder. Dieser ist jedoch kostenpflichtig und m\u00f6glicherweise nicht f\u00fcr alle in dieser Form erforderlich.<\/p>\n<p>Im Archiv befindet sich die Installation von Apache 2.2.24 zusammen mit OpenSSL (aus irgendeinem Grund hat die Suche danach viel Zeit in Anspruch genommen), eine HTML-Datei zur Registrierung von Webhooks, die Konfigurationsdatei von Apache sowie eine CF-Konfiguration mit dem HTTP-Dienst und einem Beispiel zum Senden einer Testnachricht. Der Download ist optional, da der gesamte Inhalt im Artikel vorhanden ist.<br \/>\n<br \/>Quelle: <a content=\"nofollow\" rel=\"nofollow\" href=\"https:\/\/habr.com\/ru\/post\/488374\/\">habr.com<\/a> <\/p>","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"excerpt":{"rendered":"<p>\u041c\u043d\u043e\u0433\u043e \u0441\u0442\u0440\u043e\u043a \u0438\u0441\u043f\u0438\u0441\u0430\u043d\u043e \u043f\u0440\u043e \u0438\u043d\u0442\u0435\u0433\u0440\u0430\u0446\u0438\u044e \u0422\u0435\u043b\u0435\u0433\u0440\u0430\u043c\u0430 \u0438 1\u0421. \u041d\u043e \u043d\u0438\u0433\u0434\u0435 \u043d\u0435 \u0443\u0432\u0438\u0434\u0435\u043b \u043f\u043e\u043b\u043d\u043e\u0439 \u0438\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u0438 \u043f\u043e \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0435 \u0438 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0435 \u0432\u0435\u0431\u0445\u0443\u043a\u043e\u0432. \u041f\u043e\u043f\u0440\u043e\u0431\u0443\u044e \u0435\u0451 \u043d\u0430\u043f\u0438\u0441\u0430\u0442\u044c. \u0414\u043b\u044f \u0432\u0441\u0435\u0433\u043e \u044d\u0442\u043e\u0433\u043e \u043d\u0430\u043c \u043f\u043e\u043d\u0430\u0434\u043e\u0431\u0438\u0442\u0441\u044f (\u0438\u043b\u0438 \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u0435\u0435 \u0431\u0443\u0434\u0435\u0442 \u0441\u043a\u0430\u0437\u0430\u0442\u044c, \u0447\u0442\u043e \u0431\u044b\u043b\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u043e \u043c\u043d\u043e\u0439): Apache 2.2.24 OpenSSL (\u0432\u0445\u043e\u0434\u044f\u0449\u0438\u0439 \u0432 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0443 \u0430\u043f\u0430\u0447\u0430) 1C (\u0441 \u043c\u043e\u0434\u0443\u043b\u044f\u043c\u0438 \u0432\u0435\u0431-\u0441\u0435\u0440\u0432\u0435\u0440\u0430) \u0421\u0432\u043e\u0439 \u0434\u043e\u043c\u0435\u043d \u0421\u043e\u0437\u0434\u0430\u043d\u043d\u044b\u0439 \u0431\u043e\u0442 \u0432 \u0422\u0435\u043b\u0435\u0433\u0440\u0430\u043c (\u043d\u0435 \u0431\u0443\u0434\u0443 \u043e\u043f\u0438\u0441\u044b\u0432\u0430\u0442\u044c [&hellip;]<\/p>\n","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"author":1,"featured_media":41879,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[10],"tags":[],"class_list":["post-41878","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-blog"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 4.9.10 - aioseo.com -->\n\t<meta name=\"description\" content=\"\u041c\u043d\u043e\u0433\u043e \u0441\u0442\u0440\u043e\u043a \u0438\u0441\u043f\u0438\u0441\u0430\u043d\u043e \u043f\u0440\u043e \u0438\u043d\u0442\u0435\u0433\u0440\u0430\u0446\u0438\u044e \u0422\u0435\u043b\u0435\u0433\u0440\u0430\u043c\u0430 \u0438 1\u0421. \u041d\u043e \u043d\u0438\u0433\u0434\u0435 \u043d\u0435 \u0443\u0432\u0438\u0434\u0435\u043b \u043f\u043e\u043b\u043d\u043e\u0439 \u0438\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u0438 \u043f\u043e \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0435 \u0438 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0435 \u0432\u0435\u0431\u0445\u0443\u043a\u043e\u0432. \u041f\u043e\u043f\u0440\u043e\u0431\u0443\u044e \u0435\u0451 \u043d\u0430\u043f\u0438\u0441\u0430\u0442\u044c. \u0414\u043b\u044f \u0432\u0441\u0435\u0433\u043e \u044d\u0442\u043e\u0433\u043e \u043d\u0430\u043c \u043f\u043e\u043d\u0430\u0434\u043e\u0431\u0438\u0442\u0441\u044f (\u0438\u043b\u0438 \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u0435\u0435 \u0431\u0443\u0434\u0435\u0442 \u0441\u043a\u0430\u0437\u0430\u0442\u044c, \u0447\u0442\u043e \u0431\u044b\u043b\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u043e \u043c\u043d\u043e\u0439): Apache 2.2.24 OpenSSL (\u0432\u0445\u043e\u0434\u044f\u0449\u0438\u0439 \u0432 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0443 \u0430\u043f\u0430\u0447\u0430) 1C (\u0441 \u043c\u043e\u0434\u0443\u043b\u044f\u043c\u0438 \u0432\u0435\u0431-\u0441\u0435\u0440\u0432\u0435\u0440\u0430) \u0421\u0432\u043e\u0439 \u0434\u043e\u043c\u0435\u043d \u0421\u043e\u0437\u0434\u0430\u043d\u043d\u044b\u0439 \u0431\u043e\u0442 \u0432 \u0422\u0435\u043b\u0435\u0433\u0440\u0430\u043c (\u043d\u0435 \u0431\u0443\u0434\u0443 \u043e\u043f\u0438\u0441\u044b\u0432\u0430\u0442\u044c\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Yuri Gagarin\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/prohoster.info\/de\/blog\/telegram-1s-vebhuki-apach-samopodpisannyj-sertifikat\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 4.9.10\" \/>\n\t\t<meta property=\"og:locale\" content=\"de_DE\" \/>\n\t\t<meta property=\"og:site_name\" content=\"ProHoster | \u041a\u0443\u043f\u0438\u0442\u044c \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u043e\u0432 \u0441 \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 DDoS, VPS VDS \u0441\u0435\u0440\u0432\u0435\u0440\u044b\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"\ud83e\udd47\u0422\u0435\u043b\u0435\u0433\u0440\u0430\u043c + 1\u0421 + \u0412\u0435\u0431\u0445\u0443\u043a\u0438 + \u0410\u043f\u0430\u0447 + \u0421\u0430\u043c\u043e\u043f\u043e\u0434\u043f\u0438\u0441\u0430\u043d\u043d\u044b\u0439 \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442 | ProHoster\" \/>\n\t\t<meta property=\"og:description\" content=\"\u041c\u043d\u043e\u0433\u043e \u0441\u0442\u0440\u043e\u043a \u0438\u0441\u043f\u0438\u0441\u0430\u043d\u043e \u043f\u0440\u043e \u0438\u043d\u0442\u0435\u0433\u0440\u0430\u0446\u0438\u044e \u0422\u0435\u043b\u0435\u0433\u0440\u0430\u043c\u0430 \u0438 1\u0421. \u041d\u043e \u043d\u0438\u0433\u0434\u0435 \u043d\u0435 \u0443\u0432\u0438\u0434\u0435\u043b \u043f\u043e\u043b\u043d\u043e\u0439 \u0438\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u0438 \u043f\u043e \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0435 \u0438 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0435 \u0432\u0435\u0431\u0445\u0443\u043a\u043e\u0432. \u041f\u043e\u043f\u0440\u043e\u0431\u0443\u044e \u0435\u0451 \u043d\u0430\u043f\u0438\u0441\u0430\u0442\u044c. \u0414\u043b\u044f \u0432\u0441\u0435\u0433\u043e \u044d\u0442\u043e\u0433\u043e \u043d\u0430\u043c \u043f\u043e\u043d\u0430\u0434\u043e\u0431\u0438\u0442\u0441\u044f (\u0438\u043b\u0438 \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u0435\u0435 \u0431\u0443\u0434\u0435\u0442 \u0441\u043a\u0430\u0437\u0430\u0442\u044c, \u0447\u0442\u043e \u0431\u044b\u043b\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u043e \u043c\u043d\u043e\u0439): Apache 2.2.24 OpenSSL (\u0432\u0445\u043e\u0434\u044f\u0449\u0438\u0439 \u0432 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0443 \u0430\u043f\u0430\u0447\u0430) 1C (\u0441 \u043c\u043e\u0434\u0443\u043b\u044f\u043c\u0438 \u0432\u0435\u0431-\u0441\u0435\u0440\u0432\u0435\u0440\u0430) \u0421\u0432\u043e\u0439 \u0434\u043e\u043c\u0435\u043d \u0421\u043e\u0437\u0434\u0430\u043d\u043d\u044b\u0439 \u0431\u043e\u0442 \u0432 \u0422\u0435\u043b\u0435\u0433\u0440\u0430\u043c (\u043d\u0435 \u0431\u0443\u0434\u0443 \u043e\u043f\u0438\u0441\u044b\u0432\u0430\u0442\u044c\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/prohoster.info\/de\/blog\/telegram-1s-vebhuki-apach-samopodpisannyj-sertifikat\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg\" \/>\n\t\t<meta property=\"og:image:width\" content=\"350\" \/>\n\t\t<meta property=\"og:image:height\" content=\"350\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2020-02-17T08:17:20+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2020-02-17T08:17:20+00:00\" \/>\n\t\t<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/prohoster\" \/>\n\t\t<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/prohoster\" \/>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"\ud83e\udd47Telegram + 1C + Webhooks + Apache + Selbstsigniertes Zertifikat | ProHoster","description":"Es wurde viel \u00fcber die Integration von Telegram und 1C geschrieben. Aber ich habe nirgendwo eine vollst\u00e4ndige Anleitung zur Installation und Konfiguration von Webhooks gesehen. Ich werde versuchen, sie zu schreiben. Daf\u00fcr ben\u00f6tigen wir (oder es w\u00e4re richtiger zu sagen, dass ich Folgendes verwendet habe): Apache 2.2.24, OpenSSL (das in die Installation von Apache geh\u00f6rt), 1C (mit Webserver-Modulen), eine eigene Domain und einen erstellten Bot in Telegram (ich werde das nicht weiter beschreiben).","canonical_url":"https:\/\/prohoster.info\/de\/blog\/telegram-1s-vebhuki-apach-samopodpisannyj-sertifikat","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":null,"og:locale":"de_DE","og:site_name":"ProHoster | \u041a\u0443\u043f\u0438\u0442\u044c \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u043e\u0432 \u0441 \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 DDoS, VPS VDS \u0441\u0435\u0440\u0432\u0435\u0440\u044b","og:type":"article","og:title":"\ud83e\udd47\u0422\u0435\u043b\u0435\u0433\u0440\u0430\u043c + 1\u0421 + \u0412\u0435\u0431\u0445\u0443\u043a\u0438 + \u0410\u043f\u0430\u0447 + \u0421\u0430\u043c\u043e\u043f\u043e\u0434\u043f\u0438\u0441\u0430\u043d\u043d\u044b\u0439 \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442 | ProHoster","og:description":"\u041c\u043d\u043e\u0433\u043e \u0441\u0442\u0440\u043e\u043a \u0438\u0441\u043f\u0438\u0441\u0430\u043d\u043e \u043f\u0440\u043e \u0438\u043d\u0442\u0435\u0433\u0440\u0430\u0446\u0438\u044e \u0422\u0435\u043b\u0435\u0433\u0440\u0430\u043c\u0430 \u0438 1\u0421. \u041d\u043e \u043d\u0438\u0433\u0434\u0435 \u043d\u0435 \u0443\u0432\u0438\u0434\u0435\u043b \u043f\u043e\u043b\u043d\u043e\u0439 \u0438\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u0438 \u043f\u043e \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0435 \u0438 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0435 \u0432\u0435\u0431\u0445\u0443\u043a\u043e\u0432. \u041f\u043e\u043f\u0440\u043e\u0431\u0443\u044e \u0435\u0451 \u043d\u0430\u043f\u0438\u0441\u0430\u0442\u044c. \u0414\u043b\u044f \u0432\u0441\u0435\u0433\u043e \u044d\u0442\u043e\u0433\u043e \u043d\u0430\u043c \u043f\u043e\u043d\u0430\u0434\u043e\u0431\u0438\u0442\u0441\u044f (\u0438\u043b\u0438 \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u0435\u0435 \u0431\u0443\u0434\u0435\u0442 \u0441\u043a\u0430\u0437\u0430\u0442\u044c, \u0447\u0442\u043e \u0431\u044b\u043b\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u043e \u043c\u043d\u043e\u0439): Apache 2.2.24 OpenSSL (\u0432\u0445\u043e\u0434\u044f\u0449\u0438\u0439 \u0432 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0443 \u0430\u043f\u0430\u0447\u0430) 1C (\u0441 \u043c\u043e\u0434\u0443\u043b\u044f\u043c\u0438 \u0432\u0435\u0431-\u0441\u0435\u0440\u0432\u0435\u0440\u0430) \u0421\u0432\u043e\u0439 \u0434\u043e\u043c\u0435\u043d \u0421\u043e\u0437\u0434\u0430\u043d\u043d\u044b\u0439 \u0431\u043e\u0442 \u0432 \u0422\u0435\u043b\u0435\u0433\u0440\u0430\u043c (\u043d\u0435 \u0431\u0443\u0434\u0443 \u043e\u043f\u0438\u0441\u044b\u0432\u0430\u0442\u044c","og:url":"https:\/\/prohoster.info\/de\/blog\/telegram-1s-vebhuki-apach-samopodpisannyj-sertifikat","og:image":"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg","og:image:secure_url":"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg","og:image:width":350,"og:image:height":350,"article:published_time":"2020-02-17T08:17:20+00:00","article:modified_time":"2020-02-17T08:17:20+00:00","article:publisher":"https:\/\/www.facebook.com\/prohoster","article:author":"https:\/\/www.facebook.com\/prohoster"},"aioseo_meta_data":{"post_id":"41878","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"schema_type":null,"schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"seo_analyzer_scan_date":null,"breadcrumb_settings":null,"limit_modified_date":false,"reviewed_by":null,"ai":null,"created":"2021-03-01 00:08:32","updated":"2026-02-09 15:26:54"},"gt_translate_keys":[{"key":"link","format":"url"}],"_links":{"self":[{"href":"https:\/\/prohoster.info\/de\/wp-json\/wp\/v2\/posts\/41878","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/prohoster.info\/de\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/prohoster.info\/de\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/prohoster.info\/de\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/prohoster.info\/de\/wp-json\/wp\/v2\/comments?post=41878"}],"version-history":[{"count":1,"href":"https:\/\/prohoster.info\/de\/wp-json\/wp\/v2\/posts\/41878\/revisions"}],"predecessor-version":[{"id":158417,"href":"https:\/\/prohoster.info\/de\/wp-json\/wp\/v2\/posts\/41878\/revisions\/158417"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/prohoster.info\/de\/wp-json\/wp\/v2\/media\/41879"}],"wp:attachment":[{"href":"https:\/\/prohoster.info\/de\/wp-json\/wp\/v2\/media?parent=41878"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/prohoster.info\/de\/wp-json\/wp\/v2\/categories?post=41878"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/prohoster.info\/de\/wp-json\/wp\/v2\/tags?post=41878"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}