Projekt

Obecné

Profil

« Předchozí | Další » 

Revize 2510f01a

Přidáno uživatelem Stanislav Král před téměř 4 roky(ů)

Re #8575 - Fixed an issue where the serial number was not passed when signing a CSR

Zobrazit rozdíly:

src/services/cryptography.py
202 202

  
203 203
        # prepare openssl parameters...
204 204
        # CSR, CA and CA's private key will be passed via stdin (that's the meaning of the '-' symbol)
205
        params = ["x509", "-req", "-in", "-", "-CA", "-", "-CAkey", "-", "-CAcreateserial", "-days", str(days)]
205
        params = ["x509", "-req", "-in", "-", "-CA", "-", "-CAkey", "-", "-CAcreateserial", "-days", str(days),
206
                  "-set_serial", str(sn)]
206 207

  
207 208
        # TODO delete created -.srl file
208 209

  

Také k dispozici: Unified diff