Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
misc:ssl:start [2024/07/30 11:49] – created jsmisc:ssl:start [2024/07/30 11:51] (current) – [Example for "show all data"] js
Line 1: Line 1:
 ====== OpenSSL ====== ====== OpenSSL ======
  
-=== Version ===+==== Version ====
 <code bash>openssl version</code> <code bash>openssl version</code>
  
-== Example on RockyLinux 8 ==+=== Example on RockyLinux 8 ===
 <code bash>[root@v2fsirl8 ~]# openssl version <code bash>[root@v2fsirl8 ~]# openssl version
 OpenSSL 1.1.1k  FIPS 25 Mar 2021</code> OpenSSL 1.1.1k  FIPS 25 Mar 2021</code>
  
  
-== Example on RockyLinux 9 ==+=== Example on RockyLinux 9 ===
 <code bash>[root@v2fsirl9 ~]# openssl version <code bash>[root@v2fsirl9 ~]# openssl version
 OpenSSL 3.0.7 1 Nov 2022 (Library: OpenSSL 3.0.7 1 Nov 2022)</code> OpenSSL 3.0.7 1 Nov 2022 (Library: OpenSSL 3.0.7 1 Nov 2022)</code>
 +
 +=== Help for version ===
 +<code bash>[root@v2fsirl9 ~]# openssl version
 +OpenSSL 3.0.7 1 Nov 2022 (Library: OpenSSL 3.0.7 1 Nov 2022)
 +[root@v2fsirl9 ~]# openssl version -help
 +Usage: version [options]
 +
 +General options:
 + -help  Display this summary
 +
 +Output options:
 + -a     Show all data
 + -b     Show build date
 + -d     Show configuration directory
 + -e     Show engines directory
 + -m     Show modules directory
 + -f     Show compiler flags used
 + -o     Show some internal datatype options
 + -p     Show target build platform
 + -r     Show random seeding options
 + -v     Show library version
 + -c     Show CPU settings info</code>
 +
 +=== Example all data ===
 +<code bash>[root@v2fsirl9 ~]# openssl version -a
 +OpenSSL 3.0.7 1 Nov 2022 (Library: OpenSSL 3.0.7 1 Nov 2022)
 +built on: Wed Feb 21 00:00:00 2024 UTC
 +platform: linux-x86_64
 +options:  bn(64,64)
 +compiler: gcc -fPIC -pthread -m64 -Wa,--noexecstack -Wall -O3 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wa,--noexecstack -Wa,--generate-missing-build-notes=yes -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -DOPENSSL_USE_NODELETE -DL_ENDIAN -DOPENSSL_PIC -DOPENSSL_BUILDING_OPENSSL -DZLIB -DNDEBUG -DPURIFY -DDEVRANDOM="\"/dev/urandom\"" -DREDHAT_FIPS_VERSION="\"3.0.7-e24a3ba350914fe1\"" -DSYSTEM_CIPHERS_FILE="/etc/crypto-policies/back-ends/openssl.config"
 +OPENSSLDIR: "/etc/pki/tls"
 +ENGINESDIR: "/usr/lib64/engines-3"
 +MODULESDIR: "/usr/lib64/ossl-modules"
 +Seeding source: os-specific
 +CPUINFO: OPENSSL_ia32cap=0xfffa32034f8bffff:0x405f5ef1bf27eb</code>