[root@rt-chat remtehchat.ru]# ./tinode &[1] 3510[root@rt-chat remtehchat.ru]# 2019/07/05 05:07:19 Server v0.15:/var/www/remtehchat.ru/data/www/remtehchat.ru/tinode:v0.15.15-rc1; db: 'mysql'; pid 3510; 1 process(es)2019/07/05 05:07:19 Using config from '/var/www/remtehchat.ru/data/www/remtehchat.ru/tinode.conf'2019/07/05 05:07:19 Running as a standalone server.2019/07/05 05:07:19 Restricted tags: ['tel' 'email']2019/07/05 05:07:19 plugins: no active plugins found2019/07/05 05:07:19 gRPC/1.20.0-dev secure server is registered at [:6061]2019/07/05 05:07:19 Serving static content from '/var/www/remtehchat.ru/data/www/remtehchat.ru/static' at '/'2019/07/05 05:07:19 Large media handling enabled fs2019/07/05 05:07:19 stats: variables exposed at '/debug/vars'2019/07/05 05:07:19 Redirecting connections from HTTP at [:80] to HTTPS at [:6060]2019/07/05 05:07:19 Listening for client HTTPS connections on [:6060]2019/07/05 05:07:56 http: TLS handshake error from 130.255.143.65:9067: EOF2019/07/05 05:08:35 http: TLS handshake error from 130.255.143.65:9096: EOF2019/07/05 05:10:22 http: TLS handshake error from 130.255.143.65:9115: EOF2019/07/05 05:12:45 http: TLS handshake error from 130.255.143.65:9066: 429 urn:acme:error:rateLimited: Error creating new authz :: too many failed authorizations recently: see https://letsencrypt.org/docs/rate-limits/2019/07/05 05:12:45 http: TLS handshake error from 130.255.143.65:9123: acme/autocert: missing certificate
..."tls": { // Enable TLS. "enabled": true,...// Location of certificates."cache": "/var/www/httpd-cert/remtehchat.ru",...// these locations. Ignored if "autocert" is defined. "cert_file": "/var/www/httpd-cert/remtehchat.ru/remtehchat.ru.crt", "key_file": "/var/www/httpd-cert/remtehchat.ru/remtehchat.ru.key" },--
You received this message because you are subscribed to the Google Groups "Tinode General" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tinode+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tinode/ef726736-f635-4e6b-af37-3b6fb5e4072f%40googlegroups.com.
[root@rt-chat remtehchat.ru]# ./tinode &[1] 24055[root@rt-chat remtehchat.ru]# 2019/07/09 00:44:19 Server v0.15:/var/www/remtehchat.ru/data/www/remtehchat.ru/tinode:v0.15.15-rc1; db: 'mysql'; pid 24055; 1 process(es)2019/07/09 00:44:19 Using config from '/var/www/remtehchat.ru/data/www/remtehchat.ru/tinode.conf'2019/07/09 00:44:19 Running as a standalone server.2019/07/09 00:44:19 Restricted tags: ['email' 'tel']2019/07/09 00:44:19 plugins: no active plugins found2019/07/09 00:44:19 gRPC/1.20.0-dev secure server is registered at [:6061]2019/07/09 00:44:19 Serving static content from '/var/www/remtehchat.ru/data/www/remtehchat.ru/static' at '/'2019/07/09 00:44:19 Large media handling enabled fs2019/07/09 00:44:19 stats: variables exposed at '/debug/vars'2019/07/09 00:44:19 Listening for client HTTPS connections on [:https]2019/07/09 00:44:19 HTTP server: failed listen tcp :443: bind: address already in use2019/07/09 00:44:19 Stopped push notifications2019/07/09 00:44:19 Stopped files garbage collector2019/07/09 00:44:19 Closed database connection(s)2019/07/09 00:44:19 All done, good bye
--
You received this message because you are subscribed to the Google Groups "Tinode General" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tinode+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tinode/49519676-b920-4460-8d1d-7426db3a1a4a%40googlegroups.com.
// TLS (httpS) configuration. Applies to both web and gRPC interfaces. "tls": { // Enable TLS. "enabled": true,
// Listen for connections on this port and redirect them to HTTPS port. "http_redirect": ":6060",
// Add Strict-Transport-Security to headers, the value signifies age. // Zero or negative value turns it off. "strict_max_age": 604800,
// Letsencrypt configuration //"autocert": { // Location of certificates. //"cache": "/var/www/httpd-cert/remtehchat.ru/",
// Contact address for this installation. LetsEncrypt will send // messages to this address in case of problems. Replace with your // own address or remove this line. //"email": "ad...@remtehchat.ru",
// Domains served. Replace with your own domain name. //"domains": ["remtehchat.ru"] //},
// If "autocert" config is not defined, read static certificates from // these locations. Ignored if "autocert" is defined. "cert_file": "/var/www/httpd-cert/remtehchat.ru/www.remtehchat.ru.crt", "key_file": "/var/www/httpd-cert/remtehchat.ru/www.remtehchat.ru.key" },No it is not:You are running your server at :6060.Please hire a competent sysadmin. Please hire a competent sysadmin. Please hire a competent sysadmin.Please hire a competent sysadmin. Please hire a competent sysadmin. Please hire a competent sysadmin.
On Sat, Jul 6, 2019 at 7:10 PM Алексей <alina...@gmail.com> wrote:
--1. Certificate is validated https://www.sslshopper.com/ssl-checker.html#hostname=remtehchat.ru2. In the tinode file.conf settings..."tls": {// Enable TLS."enabled": true,...// Location of certificates."cache": "/var/www/httpd-cert/remtehchat.ru",...// these locations. Ignored if "autocert" is defined."cert_file": "/var/www/httpd-cert/remtehchat.ru/remtehchat.ru.crt","key_file": "/var/www/httpd-cert/remtehchat.ru/remtehchat.ru.key"},
What else is required for the chat to work over https?
You received this message because you are subscribed to the Google Groups "Tinode General" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tin...@googlegroups.com.
Wanted to give up port 6060 to chat has opened at https://remtehchat.ru. But the nginx listens to port 443. On the server a lot of sites. I'm afraid that changing the nginx port will lead to errors on the sites.
The certificate is connected to the domain and does not give errors. Certificate errors exist only for domain + port.In tinode.conf has prescribed paths to certificates. What else is required to pass certificate verification at https://remtehchat.ru:6060 ?
When I open https://remtehchat.ru:6060/ it works just fine.
"cert_file": "/var/www/httpd-cert/remtehchat.ru/www.remtehchat.ru.crt","key_file": "/var/www/httpd-cert/remtehchat.ru/www.remtehchat.ru.key"