Outils pour utilisateurs

Outils du site


blog

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-*"
2025/03/24 15:06

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
2025/03/24 15:06

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
2025/03/24 15:06

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
2025/03/24 15:06

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

2025/03/24 15:06
,
blog.txt · Dernière modification : de 127.0.0.1

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki