lhotari commented on code in PR #779:
URL: https://github.com/apache/pulsar-site/pull/779#discussion_r1477973538


##########
docs/security-encryption.md:
##########
@@ -69,7 +69,7 @@ To enable end-to-end encryption in Puslar, complete the 
following steps.
 
      ```shell
      openssl genrsa -out test_rsa_privkey.pem 2048
-     openssl rsa -in test_rsa_privkey.pem -pubout -outform pkcs8 -out 
test_rsa_pubkey.pem
+     openssl rsa -in test_rsa_privkey.pem -outform PEM -pubout -out 
test_rsa_pubkey.pem

Review Comment:
   I wonder if there's a need to also convert it to PKCS8 format as it has been 
before?
   
   If it is needed, it could be achieved by adding one more step:
   ```
   openssl pkcs8 -topk8 -inform PEM -outform PEM -nocrypt -in 
test_rsa_pubkey.pem -out test_rsa_pubkey.pk8
   ```
   
   Perhaps some library requires it in PKCS8 format?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to