Table des matières
- 2026:
- 2025:
12 billet(s) pour novembre 2026
| Notes conversion JSON YAML | 2026/11/13 11:16 | Jean-Baptiste |
| Git commit perdu | 2026/11/12 18:16 | Jean-Baptiste |
| Notes mojo lang | 2026/11/11 20:34 | Jean-Baptiste |
| Notes rust lang compilation | 2026/11/11 18:35 | Jean-Baptiste |
| Mémoire VSIZE VMSIZE SEGV lang C | 2026/11/11 15:59 | Jean-Baptiste |
| Ansible-navigator utilisation de ansible-vault | 2026/11/06 11:33 | Jean-Baptiste |
| Err Ansible - Module result deserialization failed No start of json char found | 2026/11/06 09:09 | Jean-Baptiste |
| Script Python conversion JSON vers CSV | 2026/11/06 08:14 | Jean-Baptiste |
| Filter Incoming IPv4 Packets Containing IP Options - cve-2026-98432 mitigation - Kernel TCP Use-After-Free | 2026/11/04 21:04 | Jean-Baptiste |
| Notes ZFS | 2026/11/03 18:04 | Jean-Baptiste |
| Diff image container | 2026/11/03 16:30 | Jean-Baptiste |
| Notes processus multi-thread | 2026/11/03 10:59 | Jean-Baptiste |
PKI - CA - Cert - Ajouter une autorité de certification
Source : https://gist.github.com/cmwylie19/39da645a979d9f514402c67619ae1b45
Voir aussi :
Adding trusted root certificates to the server
Linux (Ubuntu, Debian)
apt install ca-certificates # Copy your CA to dir /usr/local/share/ca-certificates/ sudo cp foo.crt /usr/local/share/ca-certificates/ sudo update-ca-certificates # To remove/rebuild sudo update-ca-certificates --fresh
Linux (CentOS 6)
yum install ca-certificates #Enable the dynamic CA configuration feature: update-ca-trust force-enable #Add it as a new file to /etc/pki/ca-trust/source/anchors/: cp foo.crt /etc/pki/ca-trust/source/anchors/ update-ca-trust extract
Linux (CentOS 5)
#Append your trusted certificate to file /etc/pki/tls/certs/ca-bundle.crt cat foo.crt >> /etc/pki/tls/certs/ca-bundle.crt
Mac OS X
sudo security add-trusted-cert -d -r trustRoot -k /Library/Keychains/System.keychain ~/new-root-certificate.crt sudo security delete-certificate -c "<name of existing certificate>"
windows
certutil -addstore -f "ROOT" new-root-certificate.crt certutil -delstore "ROOT" serial-number-hex
Ajouter une CA
Voir :
curl http://satellite.example.com/pub/katello-server-ca.crt -o /etc/pki/ca-trust/source/anchors/satellite-ca.crt update-ca-trust
Pb DNS bind9
Err - address not available resolving
18-Nov-2025 04:23:26.860 address not available resolving 'ecs.office.com/A/IN': 2001:503:c27::2:30#53 18-Nov-2025 04:23:26.860 address not available resolving 'ecs.office.com/A/IN': 2001:7fd::1#53 18-Nov-2025 04:23:26.860 address not available resolving 'ecs.office.com/A/IN': 2001:500:200::b#53 18-Nov-2025 04:23:26.860 address not available resolving 'ecs.office.com/A/IN': 2001:500:12::d0d#53
Solution
Pb IPv6. Il faut lancer le daemon avec l'option -4
Err - resolver priming query complete: timed out
10-Jun-2026 17:02:54.990 managed-keys-zone: Key 20326 for zone . is now trusted (acceptance timer complete) 17:04:24 [18/1937]10-Jun-2026 17:02:54.990 managed-keys-zone: Key 38696 for zone . is now trusted (acceptance timer complete) 10-Jun-2026 17:03:04.986 resolver priming query complete: timed out 10-Jun-2026 17:03:11.222 chase DS servers resolving 'platform.aws.gts/DS/IN': 192.168.10.1#53 10-Jun-2026 17:03:11.234 chase DS servers resolving 'platform.aws.gts/DS/IN': 192.168.10.2#53 10-Jun-2026 17:03:21.192 resolver priming query complete: timed out 10-Jun-2026 17:03:21.219 broken trust chain resolving 'z1.acme.local/A/IN': 192.168.10.1#53
Solution : Ajouter dnssec-validation no;
named.conf
options { forwarders { 8.8.8.8; 8.8.4.4; }; dnssec-validation no; allow-recursion { trusted; }; allow-query { trusted; }; };
DNSSEC resolution on BIND in 'forwarder' mode fails with SERVFAIL or 'broken trust chain' errors
Source : https://access.redhat.com/solutions/5633621
BIND server fails with resolution of DNSSEC addresses.
The logs contain following errors:
broken trust chain resolving 'DDD.CCC.BBB.AAA.in-addr.arpa/PTR/IN' client ... (DDD.CCC.BBB.AAA.in-addr.arpa): view internal: query failed (SERVFAIL) for DDD.CCC.BBB.AAA.in-addr.arpa/IN/PTR at ../../../bin/named/query.c:8580
Deactivation of DNSSEC resolution restores main DNS functionality:
dnssec-enable no; dnssec-validation no;
Note : Il suffit parfois de dnssec-validation no;
Autres
options { minimal-responses yes; edns-udp-size 512; dnssec-validation auto; };
Notes synchro temps hôte VM NTP vs non NTP
Voir :
(Linux uniquement) via une connexion PTP directe pour se connecter à une horloge matérielle PTP locale :
- PHC0
Source : https://docs.aws.amazon.com/fr_fr/AWSEC2/latest/UserGuide/configure-ec2-ntp.html
Notes ntpd - être sa propre horloge système
Configurez le démon NTP qui doit être synchronisé avec sa propre horloge système
Editez /etc/ntp.conf, puis ajoutez les lignes suivantes
/etc/ntp.conf
server 127.127.1.0 prefer # the logical IP address for the NTP server to sync to its own system clock fudge 127.127.1.0 driftfile /etc/ntp.drift tracefile /etc/ntp.trace
Autres
Avec GPS
server 127.127.28.0 minpoll 4 maxpoll 4 fudge 127.127.28.0 refid GPS
