aboutsummaryrefslogtreecommitdiff
path: root/crypto/openssl
diff options
context:
space:
mode:
authorGordon Tetlow <gordon@FreeBSD.org>2024-09-07 23:45:05 +0000
committerGordon Tetlow <gordon@FreeBSD.org>2024-09-07 23:45:05 +0000
commit4086a0635d38d5e6ca29684c2ea2e927f8866e32 (patch)
treeef679bfefc4f36acddea147cc0c9bf474473baff /crypto/openssl
parenta700bef1e4ee3e6f4e1a86a374bf9b4044f69a70 (diff)
Diffstat (limited to 'crypto/openssl')
-rw-r--r--crypto/openssl/FREEBSD-upgrade20
1 files changed, 6 insertions, 14 deletions
diff --git a/crypto/openssl/FREEBSD-upgrade b/crypto/openssl/FREEBSD-upgrade
index 76943efdbde6..ebe2d85bd8f7 100644
--- a/crypto/openssl/FREEBSD-upgrade
+++ b/crypto/openssl/FREEBSD-upgrade
@@ -9,14 +9,14 @@
01) Switch to the vendor branch:
$ cd src/freebsd/main
- $ git worktree add ../vendor/openssl-X.Y freebsd/vendor/openssl-X.Y
+ $ git worktree add -b vendor/openssl-X.Y ../vendor/openssl-X.Y freebsd/vendor/openssl-X.Y
$ cd ../vendor/openssl-X.Y
02) Download the latest OpenSSL tarball and signature from the official
website (https://www.openssl.org/source/).
- $ (cd .. && fetch https://openssl.org/source/openssl-X.Y.Z.tar.gz)
- $ (cd .. && fetch https://openssl.org/source/openssl-X.Y.Z.tar.gz.asc)
+ $ (cd .. && fetch https://github.com/openssl/openssl/releases/download/openssl-3.0.15/openssl-3.0.15.tar.gz)
+ $ (cd .. && fetch https://github.com/openssl/openssl/releases/download/openssl-3.0.15/openssl-3.0.15.tar.gz.asc)
03) Verify the signature:
@@ -24,11 +24,11 @@
04) Unpack the OpenSSL tarball to the parent directory:
- $ tar -x -X FREEBSD-Xlist -f ../openssl-X.Y.Z.tar.gz -C ..
+ $ tar xf ../openssl-X.Y.Z.tar.gz -C ..
05) Copy to the vendor branch:
- $ rsync --exclude FREEBSD.* --delete -av ../openssl-X.Y.Z/* .
+ $ rsync --exclude .git --delete -av ../openssl-X.Y.Z/ .
06) Take care of added / deleted files:
@@ -112,19 +112,11 @@
16) Build and install world, reboot, test.
-17) Test the legacy and fips providers as well: (here with "test" as the password)
+17) Test the legacy provider as well: (here with "test" as the password)
$ echo test | openssl rc4 -provider legacy -e -a -pbkdf2
enter RC4 encryption password:
Verifying - enter RC4 encryption password:
U2FsdGVkX1+JvhqxLMOvlxvTi1/h
- # openssl fipsinstall -out /etc/ssl/fipsmodule.cnf -module /usr/lib/ossl-modules/fips.so
- INSTALL PASSED
- # vi /etc/ssl/openssl.cnf
- [enable the FIPS module]
- # echo test | openssl aes-256-cbc -provider fips -e -a -pbkdf2
- U2FsdGVkX19lTexiYsnMX83ZLSojBOFwv7GB0Plhgmw=
-
18) Commit and hope you did not miss anything.
-