Hodžův blog

Archive for the 'Služby' Category

21 Zář

Failed to establish secure connection: sslv3 alert handshake failure: 1040

Debian 10 (Buster) + latest NSClient++ on Windows 2019 server Linux: root@nagios:/# /usr/lib/nagios/plugins/check_nrpe -H 172.24.1.1 -c check_ad CHECK_NRPE: (ssl_err != 5) Error – Could not complete SSL handshake with 172.24.1.1: 1 Windows: 2019-09-21 18:30:46: error:c:\source\master\include\socket/connection.hpp:273: Seems we other end is not using ssl: unknown protocol 2019-09-21 18:30:46: error:c:\source\master\include\socket/connection.hpp:274: Please review the ssl option as well […]

27 Led

IPSEC tunnel from Check Point to Mikrotik

Check Point configuration: IP address WAN: 1.2.3.4 IP address LAN: 192.168.1.0/24 Username: johndoe Password: mysecret Shared secret: 12345678 Mikrotik configuration: /interface l2tp-client add connect-to=1.2.3.4 disabled=no ipsec-secret=12345678 name=l2tp-checkpoint password=“mysecret“ use-ipsec=yes user=johndoe /ip ipsec proposal set [ find default=yes ] enc-algorithms=3des pfs-group=none /ip route add distance=1 dst-address=192.168.1.0/24 gateway=l2tp-checkpoint

22 Led

Zapnutí DNSSEC na Windows 2016

DnsCmd.exe /Config /enablednssec 1

13 Led

Getent passwd dosen’t show all users of LDAP server (Can’t receive more than 500 entries)

Quick fix: echo „dn: cn=config changetype: modify replace: olcSizeLimit olcSizeLimit: 10000“ > olcSizeLimit.ldif ldapmodify -Y EXTERNAL -H ldapi:/// -f olcSizeLimit.ldif

13 Led

SSL Library Error: 185073780 key values mismatch

When installing a certificate on Apache web server, you might receive an error SSL Library Error: 185073780 error:0B080074:x509 certificate routines:X509_check_private_key:key values mismatch during restart of Apache service. Most often, this error appears if you are using an incorrect private key along with the certificate you received from the Certificate Authority. In order for Apache to […]

12 Led

VMware VMRC fails to install on Debian or (K)Ubuntu Linux

It appears, that update-desktop-database was not installed by default. After an apt-get install desktop-file-utils VMware Remote Console installs without error.

12 Led

Veeam Agent – reset backup jobs (re-create the Database )

Perform the following actions: 1. Run regedit.exe and locate the HKEY_LOCAL_MACHINE\SOFTWARE\Veeam\Veeam Endpoint Backup key. Create the following value under this key:Name = Recreatedatabase Type = DWORD Value = 1  2. Go to Control panel > Administrative Tools and run Services. Restart the Veeam Agent for Microsoft Windows service. A new database instance will be created (this usually […]

01 Kvě

HowTo: SSL/TLS required but absent on data channel (ProFTPD & LFTP)

echo „“ >> /etc/lftp.conf echo „set ftp:ssl-allow true“ >> /etc/lftp.conf echo „set ftp:ssl-force true“ >> /etc/lftp.conf echo „set ftp:ssl-protect-data true“ >> /etc/lftp.conf echo „set ftp:ssl-protect-list true“ >> /etc/lftp.conf

11 Bře

HowTo: Debian Jessie & Huawei E3131 Mobile Broadband

Before: # lsusb | grep -i huawei Bus 002 Device 007: ID 12d1:14fe Huawei Technologies Co., Ltd Fix it with command: usb_modeswitch -v 12d1 -p 14fe -J After: # lsusb | grep -i huawei Bus 008 Device 005: ID 12d1:1506 Huawei Technologies Co., Ltd. E398 LTE/UMTS/GSM Modem/Networkcard You can also create a udev rule: vi […]

04 Úno

HowTo: Update The Root Hints Data File for BIND Named Server on Debian GNU Linux

# wget –user=ftp –password=ftp ftp://ftp.rs.internic.net/domain/db.cache -O /etc/bind/db.root

Hodžův blog is is proudly powered by Wordpress and the Magellan Theme