Closed yoh1496 closed 3 years ago
When I set up my new Unit, I look this guide for generating Self-Signed Unit certificate. https://github.com/personium/ansible/blob/develop/How_to_generate_Self-signed_Unit_Certificate.md
It tells me to use below command to generate RSA key.
openssl genrsa -out unit.key 2048 -outform DER
But, in my environment, -outform DER was treated as Extra arguments and the command is failed.
-outform DER
Extra arguments
$ openssl version OpenSSL 1.1.1 11 Sep 2018 $ openssl genrsa -out unit.key 2048 -outform DER Extra arguments given. genrsa: Use -help for summary.
Certainly, it seems that openssl-genrsa does not have an option -outform. https://www.openssl.org/docs/man1.1.1/man1/openssl-genrsa.html
-outform
In addition, the file specified by io.personium.core.x509.key is expected to be a PEM file. https://github.com/personium/personium-core/blob/develop/src/main/resources/personium-unit-config-default.properties#L125
io.personium.core.x509.key
I think -outform DER is useless or incorrect option. So, how about removing -outform DER option from the guide?
When I set up my new Unit, I look this guide for generating Self-Signed Unit certificate. https://github.com/personium/ansible/blob/develop/How_to_generate_Self-signed_Unit_Certificate.md
It tells me to use below command to generate RSA key.
But, in my environment,
-outform DER
was treated asExtra arguments
and the command is failed.Certainly, it seems that openssl-genrsa does not have an option
-outform
. https://www.openssl.org/docs/man1.1.1/man1/openssl-genrsa.htmlIn addition, the file specified by
io.personium.core.x509.key
is expected to be a PEM file. https://github.com/personium/personium-core/blob/develop/src/main/resources/personium-unit-config-default.properties#L125I think
-outform DER
is useless or incorrect option. So, how about removing-outform DER
option from the guide?