Zum Inhalt springen
View in the app

A better way to browse. Learn more.

Fachinformatiker.de

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

OpenSSL Zertifikatsrequest Parameter

Empfohlene Antworten

Veröffentlicht

Hallo,

ich erstelle in einem Skript mit OpenSSL einen Request wie folgt:

openssl req -new -key $BASE.key -out $BASE.csr

Hier werden ja einige Parameter abgefragt (OU,CN, Mail....)

Kann (Und wenn ja wie?) man diese gleich beim Aufruf übergeben, so dass ich den Kram nicht mehr händisch reinprügeln muss?

-- Gruß

Hallo!

ich erstelle in einem Skript mit OpenSSL einen Request wie folgt:

openssl req -new -key $BASE.key -out $BASE.csr
Hier werden ja einige Parameter abgefragt (OU,CN, Mail....) Kann (Und wenn ja wie?) man diese gleich beim Aufruf übergeben, so dass ich den Kram nicht mehr händisch reinprügeln muss?
Jau, das geht - zumindest teilweise. Als direkte Parameter kannst Du das nicht machen, aber in der manpage zu "req" ist ein anderer Weg wunderbar beschrieben. Sogar speziell auf eben diese Situation hin (Script oder GUI). Ich habe das auch mal benutzt, um mir ein eigenes Webfrontend für die essentiellen CA-Aufgaben zu schreiben. Hier der Auszug aus der manpage:

If the prompt option is set to no

       then these sections just consist of field names and

       values: for example,


        CN=My Name

        OU=My Organization

        emailAddress=someone@somewhere.org


       This allows external programs (e.g. GUI based) to generate

       a template file with all the field names and values and

       just pass it to req. An example of this kind of

       configuration file is contained in the EXAMPLES section.

Grüße,

Florian

Archiv

Dieses Thema wurde archiviert und kann nicht mehr beantwortet werden.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.