Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

openssl problem



Hi,

I am trying to install InvoiceNinja(1) on -current, following the
recipè on (2), using php72, php-fpm, mysql 5.7. I have got most of the
components installed - nginx, php-fpm, mysql. nginx is running.

When I try to configure the self-signed certificate for nginx, I am stuck at:
....
# openssl genrsa -des3 -passout pass:x -out ininja.pass.key 2048
                                18-11-25 - 19:47:35
Generating RSA private key, 2048 bit long modulus (2 primes)
.....+++++
...........................+++++
e is 65537 (0x010001)
18446744073709551615:error:28078065:UI
routines:UI_set_result_ex:result too
small:/home/sysbuild/src/crypto/external/bsd/openssl/dist/crypto/ui/ui_lib.c:903:You
must type in 4 to 1023 characters
18446744073709551615:error:28078065:UI
routines:UI_set_result_ex:result too
small:/home/sysbuild/src/crypto/external/bsd/openssl/dist/crypto/ui/ui_lib.c:903:You
must type in 4 to 1023 characters
18446744073709551615:error:0906906F:PEM
routines:PEM_ASN1_write_bio:read
key:/home/sysbuild/src/crypto/external/bsd/openssl/dist/crypto/pem/pem_lib.c:357:

root@ymir:/etc/nginx/ssl
# ls -la
                           :( 1 18-11-25 - 19:47:37
total 8
drwxr-xr-x  2 root  wheel  512 Nov 25 19:47 .
drwxr-xr-x  3 root  wheel  512 Nov 25 19:46 ..
-rw-------  1 root  wheel    0 Nov 25 19:47 ininja.pass.key
....

I've no idea what that means. I am using:
...
# /usr/bin/openssl version
                                18-11-25 - 19:57:59
OpenSSL 1.1.1  11 Sep 2018
# uname -a
                                18-11-25 - 19:58:12
NetBSD ymir 8.99.26 NetBSD 8.99.26 (GENERIC) #7: Fri Nov 23 23:04:10
GMT 2018  sysbuild@ymir:/home/sysbuild/sysbuild/amd64/obj/home/sysbuild/src/sys/arch/amd64/compile/GENERIC
amd64
...

(1) https://www.invoiceninja.org/
(2) https://www.rosehosting.com/blog/install-invoice-ninja-on-a-debian-7-vps/
-- 
----


Home | Main Index | Thread Index | Old Index