Bug 26572 - univention-certificate -path ... / exit codes
univention-certificate -path ... / exit codes
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: SSL
UCS 3.0
All Linux
: P5 normal (vote)
: UCS 3.1
Assigned To: Philipp Hahn
Stefan Gohmann
: interim-2
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-03-22 10:38 CET by Philipp Hahn
Modified: 2012-12-12 21:08 CET (History)
1 user (show)

See Also:
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:
hahn: Patch_Available+


Attachments
Cleanup univention-ssl (16.86 KB, patch)
2012-03-22 10:38 CET, Philipp Hahn
Details | Diff
Cleanup univention-ssl (27.62 KB, patch)
2012-03-22 11:51 CET, Philipp Hahn
Details | Diff
v3 (27.68 KB, patch)
2012-03-22 11:56 CET, Philipp Hahn
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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".