How to change only topic (CN) in existing csr

I have csr (Request Signing Request).

I just need to change the CN from this csr, leaving the other fields intact. This is similar to updating existing csr.

This should be done automatically. Is there a way to do this in c / c ++ / openssl?

+5
source share
1 answer

You cannot change anything in the request file because it is a digitally signed message. If you change at least one bit, you cancel the signature. The CA server will reject it.

What can you do:

  • create a new CSR
  • instruct the CA to ignore the subject field and indicate something else when issuing the certificate (this procedure depends on the CA software).
+7
source

Source: https://habr.com/ru/post/1239805/


All Articles