blog
Table des matières
- 2026:
- 2025:
13 billet(s) pour novembre 2026
| Réseaux - protocole QUIC mieux que TCP | 2026/11/17 21:26 | Jean-Baptiste |
| 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 |
Pb OpenStack - pas d’accès a la console
Récupérer la console :
#nova get-vnc-console adf9c868-a595-4ae8-9ee8-fb775ab4c8de novnc
openstack console url show adf9c868-a595-4ae8-9ee8-fb775ab4c8de novnc
Solution
/etc/nova/nova-cpu.conf
[vnc] #server_proxyclient_address = 127.0.0.1 server_proxyclient_address = 0.0.0.0 #server_listen = 127.0.0.1 server_listen = 0.0.0.0 #novncproxy_base_url = http://10.245.108.3:6080/vnc_auto.html novncproxy_base_url = http://172.18.200.228:6080/vnc_auto.html [spice] #html5proxy_base_url = http://10.245.108.3:6082/spice_auto.html html5proxy_base_url = http://172.18.200.228:6082/spice_auto.html
sudo systemctl restart "devstack@n-*"
Pb OpenSSL LibreSSL Error Loading extension section v3_ca
Voir aussi :
$ openssl genrsa -des3 -out macle.key 2048 #Voir aussi "openssl ecparam -genkey" pour Elliptic Curve key Generating RSA private key, 2048 bit long modulus ................................................+++ ...................................................+++ e is 65537 (0x10001) Enter pass phrase for macle.key: Verifying - Enter pass phrase for macle.key:
$ openssl req -new -x509 -days 3650 -key macle.key -sha256 -extensions v3_ca -out macle.crt Error Loading extension section v3_ca
Le problème venait de LibreSSL (pourquoi !?)
Solution 1 (rapide) :
Spécifier le chemin pour prendre l'openssl de la distribution GNU/Linux
/usr/bin/openssl req -new -x509 -days 3650 -key macle.key -sha256 -extensions v3_ca -out macle.crt
Solution 2 (la bonne) :
mv /usr/local/etc/ssl{,.old} ln -s /etc/ssl /usr/local/etc/ssl
En effet, la conf n'est pas la même
# grep -ri v3_ca /etc/ssl /etc/ssl/openssl.cnf:x509_extensions = v3_ca # The extentions to add to the self signed cert /etc/ssl/openssl.cnf:[ v3_ca ]
openssl.cnf
[ v3_ca ] subjectKeyIdentifier=hash authorityKeyIdentifier=keyid:always,issuer basicConstraints = CA:true [ req ] x509_extensions = v3_ca # The extentions to add to the self signed cert
Autres
$ openssl x509 -ext basicConstraints,keyUsage -noout -in /usr/share/ca-certificates/mozilla/VeriSign_Universal_Root_Certification_Authority.crt
X509v3 Basic Constraints: critical
CA:TRUE
X509v3 Key Usage: critical
Certificate Sign, CRL Sign
Pb NTP - heure pas persistente après reboot
Erreurs
Sous Firefox
L’heure de votre ordinateur est incorrecte Votre ordinateur pense que nous sommes le 26 janv. 2024, ce qui empêche Firefox de se connecter de façon sécurisée. Pour visiter mel.belaris.fr, mettez à jour l’horloge de votre ordinateur dans vos paramètres système afin qu’elle soit réglée sur la date, l’heure et le fuseau horaire qui conviennent, puis actualisez duckduckgo.com.
Sous Chromium
Your clock is behind A private connection to duckduckgo.com can't be established because your computer's date and time (Friday, January 26, 2024 at 10:52:13 PM) are incorrect. NET::ERR_CERT_DATE_INVALID
Solution
Si nécessaire désactiver tous les timers SystemD. Voir Notes SystemD Timer
ntpdate -b pool.ntp.org hwclock --systohc
Pb nmap Openvz
Voir :
Erreur nmap sur mon VPS OVH
apt-get install --no-install-recommends nmap
# nmap 1.2.3.4 Starting Nmap 6.00 ( http://nmap.org ) at 2015-05-25 13:17 CEST route_dst_netlink: can't find interface "venet0"
# nmap --iflist Starting Nmap 6.00 ( http://nmap.org ) at 2015-05-25 13:20 CEST INTERFACES: NONE FOUND(!) ROUTES: NONE FOUND(!
Solution
nmap --unprivileged 1.2.3.4
Pb nginx php-fpm page blanche après mise à jour
Merci http://stackoverflow.com/questions/15423500/nginx-showing-blank-php-pages
replace
include fastcgi_params;
with
include fastcgi.conf;
and remove fastcgi_param SCRIPT_FILENAME … in nginx.conf
blog.txt · Dernière modification : de 127.0.0.1
