I have ssl-admin-1.2.1_1 installed and it looks I can't generate certificates anymore.
This has worked before, it's been a few months since I generated a certificate for the last time and since then a few pkg and system updates has been done. When I'm trying to generate a new certificate I get the following error
bss_file.c and is indeed missing
This has worked before, it's been a few months since I generated a certificate for the last time and since then a few pkg and system updates has been done. When I'm trying to generate a new certificate I get the following error
Code:
% sudo ssl-admin
This program will walk you through requesting, signing,
organizing and revoking SSL certificates.
ssl-admin installed Fri Jul 26 22:28:51 UTC 2019
OPTIONAL: I can't find your OpenVPN client config. Please copy your config to
/usr/local/etc/ssl-admin/packages/client.ovpn
=====================================================
# SSL-ADMIN v~~~VERSION~~~ #
=====================================================
Please enter the menu option from the following list:
1) Update run-time options:
Key Duration (days): 3650
Current Serial #: 17
Key Size (bits): 4096
Intermediate CA Signing: NO
2) Create new Certificate Request
3) Sign a Certificate Request
4) Perform a one-step request/sign
5) Revoke a Certificate
6) Renew/Re-sign a past Certificate Request
7) View current Certificate Revokation List
8) View index information for certificate.
i) Generate a user config with in-line certifcates and keys.
z) Zip files for end user.
dh) Generate Diffie Hellman parameters.
CA) Create new Self-Signed CA certificate.
S) Create new Signed Server certificate.
q) Quit ssl-admin
Menu Item: 4
Please enter certificate owner's name or ID.
Usual format is first initial-last name (jdoe) or
hostname of server which will use this certificate.
All lower case, numbers OK.
Owner []: hostname.com
File names will use hostname.com.
Please enter certificate owner's name or ID.
Usual format is first initial-last name (jdoe) or
hostname of server which will use this certificate.
All lower case, numbers OK.
Owner [hostname.com]:
Would you like to password protect the private key (y/n): n
Invalid command 'req_v3'; type "help" for a list.
===> Serial Number = 17
=========> Signing request for hostname.com
Using configuration from /usr/local/etc/ssl-admin/openssl.conf
34371153920:error:02001002:system library:fopen:No such file or directory:/usr/src/crypto/openssl/crypto/bio/bss_file.c:69:fopen('hostname.com.csr','r')
34371153920:error:2006D080:BIO routines:BIO_new_file:no such file:/usr/src/crypto/openssl/crypto/bio/bss_file.c:76:
There was an error during openssl execution. Please look for error messages above. at /usr/local/bin/ssl-admin line 161, <> line 4.
bss_file.c and is indeed missing
Code:
% file /usr/src/crypto/openssl/crypto/bio/bss_file.c
/usr/src/crypto/openssl/crypto/bio/bss_file.c: cannot open `/usr/src/crypto/openssl/crypto/bio/bss_file.c' (No such file or directory)
% ll /usr/src
total 9
drwxr-xr-x 2 root wheel 2B Dec 7 2018 .
drwxr-xr-x 16 root wheel 16B Jul 22 2019 ..
[code]
Re-installing ssl-admin didn't help.
Any ideas?