Scénario #10957
CUPS impossible d'imprimer depuis un autre client CUPS
100%
Description
Test effectué sur un AmonEcole 2.4.1
Lorsque l'on veut accèdé à l'interface depuis un navigateur via https://ip_conteneur:631, une erreur de certificat s'affiche.
Si on lance cups en mode débug on obtient :
W [19/Mar/2015:07:35:22 +0100] Avahi client failed: -26 E [19/Mar/2015:07:35:22 +0100] Unable to encrypt connection from localhost - Decryption has failed. E [19/Mar/2015:07:39:22 +0100] Unable to encrypt connection from localhost - Decryption has failed.
cups essai d'initialiser la connexion avec /et/cups/ssl/server.key et server.crt au lieu /etc/eole/ssl/eole.key et eole.crt.
Il faut modifier le fichier /etc/cups/cups-files.conf et ajouter
# SSL/TLS certificate for the scheduler... #ServerCertificate ssl/server.crt ServerCertificate /etc/ssl/certs/eole.crt # SSL/TLS private key for the scheduler... ServerKey /etc/ssl/certs/eole.key
Subtasks
History
#1 Updated by Vincent Febvre about 8 years ago
De plus, il n'est pas possible d'imprimer depuis un poste GNU/LINUX même en configurant correctement CUPS.
Si on désactive SSL cela fonctionne correctement.
#2 Updated by Emmanuel GARETTE about 8 years ago
Sur un AmonEcole :
root@partage:~# ls -al /etc/cups/ssl/server.crt lrwxrwxrwx 1 root root 36 mars 20 11:44 /etc/cups/ssl/server.crt -> /etc/ssl/certs/ssl-cert-snakeoil.pem
Sur un Scribe :
root@scribe:~# ls -al /etc/cups/ssl/server.key -rw------- 1 root lp 1675 mars 20 15:33 /etc/cups/ssl/server.key
La différence est là.
A mon avis il faut mettre à jour la configuration cups pour que les certificats soient bien pris en compte (fonctionne sur AmonEcole dans ce cas).
#3 Updated by Emmanuel GARETTE about 8 years ago
Concernant le problème d'impression sur le poste client, il faut ajouter sur le poste de travail :
cat /etc/cups/client.conf
Encryption Alway
C'est une information mettre dans la documentation.
#4 Updated by Joël Cuissinat about 8 years ago
- Tracker changed from Anomalie to Tâche
- Estimated time set to 4.00 h
- Parent task set to #4530
- Remaining (hours) set to 4.0
#5 Updated by Joël Cuissinat about 8 years ago
- Parent task deleted (
#4530)
#6 Updated by Joël Cuissinat about 8 years ago
- Parent task set to #8919
#7 Updated by Scrum Master almost 8 years ago
- Status changed from Nouveau to En cours
#8 Updated by Scrum Master almost 8 years ago
- Assigned To set to Emmanuel GARETTE
#9 Updated by Emmanuel GARETTE almost 8 years ago
- Status changed from En cours to Nouveau
- Assigned To deleted (
Emmanuel GARETTE) - Parent task deleted (
#8919)
#10 Updated by Emmanuel GARETTE almost 8 years ago
- Tracker changed from Tâche to Scénario
- Due date set to 04/17/2015
#11 Updated by Emmanuel GARETTE almost 8 years ago
- Subject changed from Cups accès interface impossible AmonEcole to CUPS impossible d'imprimer depuis un autre client CUPS
- Assigned To set to force verte
- Release set to EOLE 2.4.2
#12 Updated by Joël Cuissinat almost 8 years ago
- Story points set to 2.0
#13 Updated by Joël Cuissinat almost 8 years ago
- Assigned To changed from force verte to force jaune
#14 Updated by Joël Cuissinat almost 8 years ago
- Status changed from Nouveau to Terminé (Sprint)