You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For some reason
Heimdal has reduced functionality in the base system, so I have to use heimdal from the ports
with RC4 cipher!
OpenSSL 3.0.x policies disabling the RC4 cipher.
$ ls -la /etc/ssl/
total 48
drwxr-xr-x 4 root wheel 512 Jun 3 21:19 .
drwxr-xr-x 30 root wheel 2560 Aug 8 18:36 ..
lrwxr-xr-x 1 root wheel 43 Apr 9 04:10 cert.pem -> ../../usr/local/share/certs/ca-root-nss.crt
drwxr-xr-x 2 root wheel 3072 Aug 7 19:38 certs
-rw-r--r-- 1 root wheel 12398 Jun 3 21:19 openssl.cnf
-rw-r--r-- 1 root wheel 12336 Jun 3 21:19 openssl.cnf.orig
drwxr-xr-x 2 root wheel 1536 Aug 7 19:38 untrusted
$
whereis /etc/ssl/openssl.cnf - with legacy
/etc/ssl/openssl.cnf.orig - system original
$ diff -u /etc/ssl/openssl.cnf.orig /etc/ssl/openssl.cnf
--- /etc/ssl/openssl.cnf.orig 2024-06-03 21:19:04.013735000 +0300
+++ /etc/ssl/openssl.cnf 2024-06-03 21:19:33.650025000 +0300
@@ -57,6 +57,8 @@
# List of providers to load
[provider_sect]
default = default_sect
+legacy = legacy_sect
+
# The fips section name should match the section name inside the
# included fipsmodule.cnf.
# fips = fips_sect
@@ -71,7 +73,10 @@
# problems including inability to remotely access the system.
[default_sect]
# activate = 1
+activate = 1
+[legacy_sect]
+activate = 1
####################################################################
[ ca ]
$
After these changes pkg core dumped: from /var/log/messages
kernel: pid 57421 (pkg), jid 0, uid 0: exited on signal 11 (core dumped)
$ pkg version -vRL=
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.
Child process pid=73836 terminated abnormally: Segmentation fault
$ pkg rquery "%n-%v - %c" pkg
pkg-1.21.3 - Package manager
Child process pid=73983 terminated abnormally: Segmentation fault
$ pkg install gdb
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.
The following 5 package(s) will be affected (of 0 checked):
New packages to be INSTALLED:
boost-libs: 1.84.0
gdb: 14.1_2
gmp: 6.3.0
mpfr: 4.2.1,1
source-highlight: 3.1.9_9
Number of packages to be installed: 5
The process will require 252 MiB more space.
29 MiB to be downloaded.
Proceed with this action? [y/N]: N
Child process pid=74060 terminated abnormally: Segmentation fault
$
ps. core dump only when use remote repository.
pkg info, pkg query.. run without problem
pkg-static run without problem, for example:
$ pkg-static rquery "%n-%v - %c" pkg
pkg-1.21.3 - Package manager
$ pkg-static version -vRL=
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.
$
Now try run /usr/local/sbin/pkg with original /etc/ssl/openssl.cnf.orig:
$ OPENSSL_CONF=/etc/ssl/openssl.cnf.orig pkg version -vRL=
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.
$ OPENSSL_CONF=/etc/ssl/openssl.cnf.orig pkg rquery "%n-%v - %c" pkg
pkg-1.21.3 - Package manager
$
What do you recommend, is there a way to use a file with legacy section support?
The developers of heimdal promised to fix it in version 7.8.1,
but it is not known when it will be released.
Please sorry for long story
FreeBSD 13.3 : OpenSSL 1.1.1w
FreeBSD 14.0 : OpenSSL 3.0.12
FreeBSD 14.1 : OpenSSL 3.0.13
For some reason
Heimdal has reduced functionality in the base system, so I have to use heimdal from the ports
with RC4 cipher!
OpenSSL 3.0.x policies disabling the RC4 cipher.
To solve the problem, I changed the /etc/ssl/openssl.cnf file according to
See: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=276415
use and activate legacy:
whereis /etc/ssl/openssl.cnf - with legacy
/etc/ssl/openssl.cnf.orig - system original
After these changes pkg core dumped: from /var/log/messages
kernel: pid 57421 (pkg), jid 0, uid 0: exited on signal 11 (core dumped)
ps. core dump only when use remote repository.
pkg info, pkg query.. run without problem
pkg-static run without problem, for example:
Now try run /usr/local/sbin/pkg with original /etc/ssl/openssl.cnf.orig:
What do you recommend, is there a way to use a file with legacy section support?
The developers of heimdal promised to fix it in version 7.8.1,
but it is not known when it will be released.
The text was updated successfully, but these errors were encountered: