Bug 26572

Summary: univention-certificate -path ... / exit codes
Product: UCS Reporter: Philipp Hahn <hahn>
Component: SSLAssignee: Philipp Hahn <hahn>
Status: CLOSED FIXED QA Contact: Stefan Gohmann <gohmann>
Severity: normal    
Priority: P5 CC: gohmann
Version: UCS 3.0Keywords: interim-2
Target Milestone: UCS 3.1Flags: hahn: Patch_Available+
Hardware: All   
OS: Linux   
What kind of report is it?: --- What type of bug is this?: ---
Who will be affected by this bug?: --- How will those affected feel about the bug?: ---
User Pain: Enterprise Customer affected?:
School Customer affected?: ISV affected?:
Waiting Support: Flags outvoted (downgraded) after PO Review:
Ticket number: Bug group (optional): Cleanup, Troubleshooting
Max CVSS v3 score:
Attachments: Cleanup univention-ssl
Cleanup univention-ssl
v3

Description Philipp Hahn univentionstaff 2012-03-22 10:38:28 CET
Created attachment 4282 [details]
Cleanup univention-ssl

Die Handhabung von "univention-certificate -path" funktioniert nicht: $2 statt
$1.
"univention-certificate check" liefert immer "exit 0", auch wenn das zertifikat
"inavlid" ist.

Und einen Haufen weiterer Kleinigkeiten.
Comment 1 Philipp Hahn univentionstaff 2012-03-22 11:51:17 CET
Created attachment 4283 [details]
Cleanup univention-ssl

Noch mehr:
- Die Dateien unter /etc/univention/ssl/$FQDN/ sind unnötigerweise ausführbar.
Comment 2 Philipp Hahn univentionstaff 2012-03-22 11:56:35 CET
Created attachment 4284 [details]
v3

univention-certificate: chmod g+rx ohne -R
Comment 3 Philipp Hahn univentionstaff 2012-08-04 01:12:51 CEST
v4 Eingespielt.
svn34622, univention-ssl_7.0.0-1.124.201208040110
Comment 4 Stefan Gohmann univentionstaff 2012-10-17 06:55:44 CEST
Code Review: OK

Changelog: OK

Listener Modul: OK neue Zertifikate werden 

CLI Tool: Failed

root@master581:~# univention-certificate check -name sl1.deadlock58.local
/usr/sbin/univention-certificate: Zeile 32: set: errfail: Ungültiger Optionsname.
Certificate "sl1.deadlock58.local" is valid
root@master581:~#
Comment 5 Philipp Hahn univentionstaff 2012-10-17 10:47:05 CEST
(In reply to comment #4)
> root@master581:~# univention-certificate check -name sl1.deadlock58.local
> /usr/sbin/univention-certificate: Zeile 32: set: errfail: Ungültiger
errfail → errexit

svn36381, univention-ssl_7.0.5-3.132.201210171045
ChangeLog: ±0
Comment 6 Stefan Gohmann univentionstaff 2012-10-17 15:01:56 CEST
OK
Comment 7 Stefan Gohmann univentionstaff 2012-12-12 21:08:20 CET
UCS 3.1-0 has been released: 
 http://forum.univention.de/viewtopic.php?f=54&t=2125

If this error occurs again, please use "Clone This Bug".