recipe/certificate_authority: use UTF-8 for CA certificate
The CertificateAuthority tool in ERP5 uses UTF8 encoding for certificates, but by default OpenSSL does not. This cause an error when using non-ascii characters: ``` The localityName field is different between CA certificate and the request ``` To solve the problem, the Certificate Authority recipe should use the same encoding as ERP5, which requires adding `-utf8` option when invoking OpenSSL. For instance, creating a certificate with `localityName` Москва will give the following with the default OpenSSL encoding: `\C3\90\C2\9C\C3\90\C2\BE\C3\91\C2\81\C3\90\C2\BA\C3\90\C2\B2\C3\90\C2\B0`. UTF8-encoding this same string gives `\D0\9C\D0\BE\D1\81\D0\BA\D0\B2\D0\B0`, which is what ERP5 expects.
Status | Job ID | Name | Coverage | ||||||
---|---|---|---|---|---|---|---|---|---|
External | |||||||||
passed |
#659751
external
|
Cloudooo.UnitTest-Master |
00:13:23
|
||||||
passed |
#659770
external
|
ERP5.StandaloneDeploymentScriptTest-Debian.Buster |
01:34:44
|
||||||
failed |
#659747
external
|
ERP5.StandaloneDeploymentScriptTest-Debian.Buster.Master |
14:02:21
|
||||||
passed |
#659755
external
|
SlapOS.Eggs.UnitTest-Master.Python2 |
00:44:33
|
||||||
passed |
#659724
external
|
SlapOS.Eggs.UnitTest-Master.Python3 |
00:41:08
|
||||||
passed |
#659760
external
|
SlapOS.Eggs.UnitTest-Master.Python3Next |
00:32:12
|
||||||
failed |
#659794
external
|
SlapOS.SoftwareReleases.IntegrationTest-Master |
15:34:20
|
||||||
passed |
#659737
external
|
SlapOS.Theia.ResilienceTest-Master-ERP5 |
14:47:44
|
||||||
passed |
#659749
external
|
Wendelin.StandaloneDeploymentScriptTest-Debian.Buster |
00:42:02
|
||||||
failed |
#659775
external
|
Wendelin.StandaloneDeploymentScriptTest-Debian.Buster.Master |
14:22:01
|
||||||