Bug 20931 - SSL-Zertifikate: 5 Signieren fremder Requests durch die UCS-CA
SSL-Zertifikate: 5 Signieren fremder Requests durch die UCS-CA
Status: RESOLVED DUPLICATE of bug 23879
Product: UCS extended documentation
Classification: Unclassified
Component: Domain services / LDAP
unspecified
Other Linux
: P5 normal (vote)
: ---
Assigned To: Moritz Muehlenhoff
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-12-09 09:53 CET by Roman Asendorf
Modified: 2013-06-19 07:45 CEST (History)
3 users (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):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Roman Asendorf univentionstaff 2010-12-09 09:53:25 CET
Der Schritt:

openssl ca -batch -config /etc/univention/ssl/openssl.cnf \
-in <Request> -out <Zertifikat> -passin pass‘cat \
/etc/univention/ssl/password‘

funktioniert so nicht.

Hier fehlt ein kleiner aber feiner Doppelpunkt ":" hinter dem 'pass', also:

openssl ca -batch -config /etc/univention/ssl/openssl.cnf \
-in <Request> -out <Zertifikat> -passin pass:‘cat \
/etc/univention/ssl/password‘

Schön auch, dass 'openssl ca' die Option -passin einfach mal als nicht existent deklariert, wenn man -batch weglässt, und auch bei der help-Übersicht nicht auftaucht.
Comment 1 Philipp Hahn univentionstaff 2010-12-13 09:21:31 CET
(In reply to comment #0)
> Der Schritt:
> 
> openssl ca -batch -config /etc/univention/ssl/openssl.cnf \
> -in <Request> -out <Zertifikat> -passin pass‘cat \
> /etc/univention/ssl/password‘

1. Backticks statt Accent-acut
2. Fehlendes Quoting
Also: -passin pass:"$(cat /etc/...)"
oder in bash: -passin pass:"$(</etc/...)"
oder gleich: -passin file:/etc/... (Auspassen, wenn die Datei ein abschließendes \n enthält)

> Schön auch, dass 'openssl ca' die Option -passin einfach mal als nicht existent
> deklariert, wenn man -batch weglässt, und auch bei der help-Übersicht nicht
> auftaucht.

In "man openssl" ist es dokumentiert.
Comment 2 Moritz Muehlenhoff univentionstaff 2011-10-11 17:16:33 CEST
Das ist jetzt in der erweiterten Doku im Wiki.
Comment 3 Moritz Muehlenhoff univentionstaff 2013-05-30 12:37:50 CEST
Prüfen für die überarbeitete SSL-Doku
Comment 4 Moritz Muehlenhoff univentionstaff 2013-05-30 13:38:58 CEST
This has been fixed in the revised 3.1 SSL documentation.

*** This bug has been marked as a duplicate of bug 23879 ***