| 1 |
.\" -*- mode: troff; coding: utf-8 -*- |
| 2 |
.\" Automatically generated by Pod::Man 5.0102 (Pod::Simple 3.45) |
| 3 |
.\" |
| 4 |
.\" Standard preamble: |
| 5 |
.\" ======================================================================== |
| 6 |
.de Sp \" Vertical space (when we can't use .PP) |
| 7 |
.if t .sp .5v |
| 8 |
.if n .sp |
| 9 |
.. |
| 10 |
.de Vb \" Begin verbatim text |
| 11 |
.ft CW |
| 12 |
.nf |
| 13 |
.ne \\$1 |
| 14 |
.. |
| 15 |
.de Ve \" End verbatim text |
| 16 |
.ft R |
| 17 |
.fi |
| 18 |
.. |
| 19 |
.\" \*(C` and \*(C' are quotes in nroff, nothing in troff, for use with C<>. |
| 20 |
.ie n \{\ |
| 21 |
. ds C` "" |
| 22 |
. ds C' "" |
| 23 |
'br\} |
| 24 |
.el\{\ |
| 25 |
. ds C` |
| 26 |
. ds C' |
| 27 |
'br\} |
| 28 |
.\" |
| 29 |
.\" Escape single quotes in literal strings from groff's Unicode transform. |
| 30 |
.ie \n(.g .ds Aq \(aq |
| 31 |
.el .ds Aq ' |
| 32 |
.\" |
| 33 |
.\" If the F register is >0, we'll generate index entries on stderr for |
| 34 |
.\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index |
| 35 |
.\" entries marked with X<> in POD. Of course, you'll have to process the |
| 36 |
.\" output yourself in some meaningful fashion. |
| 37 |
.\" |
| 38 |
.\" Avoid warning from groff about undefined register 'F'. |
| 39 |
.de IX |
| 40 |
.. |
| 41 |
.nr rF 0 |
| 42 |
.if \n(.g .if rF .nr rF 1 |
| 43 |
.if (\n(rF:(\n(.g==0)) \{\ |
| 44 |
. if \nF \{\ |
| 45 |
. de IX |
| 46 |
. tm Index:\\$1\t\\n%\t"\\$2" |
| 47 |
.. |
| 48 |
. if !\nF==2 \{\ |
| 49 |
. nr % 0 |
| 50 |
. nr F 2 |
| 51 |
. \} |
| 52 |
. \} |
| 53 |
.\} |
| 54 |
.rr rF |
| 55 |
.\" ======================================================================== |
| 56 |
.\" |
| 57 |
.IX Title "OPENSSL-VERSION 1SSL" |
| 58 |
.TH OPENSSL-VERSION 1SSL 2026-04-07 3.6.2 OpenSSL |
| 59 |
.\" For nroff, turn off justification. Always turn off hyphenation; it makes |
| 60 |
.\" way too many mistakes in technical documents. |
| 61 |
.if n .ad l |
| 62 |
.nh |
| 63 |
.SH NAME |
| 64 |
openssl\-version \- print OpenSSL version information |
| 65 |
.SH SYNOPSIS |
| 66 |
.IX Header "SYNOPSIS" |
| 67 |
\&\fBopenssl version\fR |
| 68 |
[\fB\-help\fR] |
| 69 |
[\fB\-a\fR] |
| 70 |
[\fB\-v\fR] |
| 71 |
[\fB\-b\fR] |
| 72 |
[\fB\-o\fR] |
| 73 |
[\fB\-f\fR] |
| 74 |
[\fB\-p\fR] |
| 75 |
[\fB\-d\fR] |
| 76 |
[\fB\-e\fR] |
| 77 |
[\fB\-m\fR] |
| 78 |
[\fB\-r\fR] |
| 79 |
[\fB\-c\fR] |
| 80 |
[\fB\-w\fR] |
| 81 |
.SH DESCRIPTION |
| 82 |
.IX Header "DESCRIPTION" |
| 83 |
This command is used to print out version information about OpenSSL. |
| 84 |
.SH OPTIONS |
| 85 |
.IX Header "OPTIONS" |
| 86 |
.IP \fB\-help\fR 4 |
| 87 |
.IX Item "-help" |
| 88 |
Print out a usage message. |
| 89 |
.IP \fB\-a\fR 4 |
| 90 |
.IX Item "-a" |
| 91 |
All information, this is the same as setting all the other flags. |
| 92 |
.IP \fB\-v\fR 4 |
| 93 |
.IX Item "-v" |
| 94 |
The current OpenSSL version. |
| 95 |
.IP \fB\-b\fR 4 |
| 96 |
.IX Item "-b" |
| 97 |
The date the current version of OpenSSL was built. |
| 98 |
.IP \fB\-o\fR 4 |
| 99 |
.IX Item "-o" |
| 100 |
Option information: various options set when the library was built. |
| 101 |
.IP \fB\-f\fR 4 |
| 102 |
.IX Item "-f" |
| 103 |
Compilation flags. |
| 104 |
.IP \fB\-p\fR 4 |
| 105 |
.IX Item "-p" |
| 106 |
Platform setting. |
| 107 |
.IP \fB\-d\fR 4 |
| 108 |
.IX Item "-d" |
| 109 |
OPENSSLDIR setting. |
| 110 |
.IP \fB\-e\fR 4 |
| 111 |
.IX Item "-e" |
| 112 |
ENGINESDIR settings. |
| 113 |
.IP \fB\-m\fR 4 |
| 114 |
.IX Item "-m" |
| 115 |
MODULESDIR settings. |
| 116 |
.IP \fB\-r\fR 4 |
| 117 |
.IX Item "-r" |
| 118 |
The random number generator source settings. |
| 119 |
.IP \fB\-c\fR 4 |
| 120 |
.IX Item "-c" |
| 121 |
The OpenSSL CPU settings info. |
| 122 |
.IP \fB\-w\fR 4 |
| 123 |
.IX Item "-w" |
| 124 |
The OpenSSL \fBOSSL_WINCTX\fR build time variable, if set. |
| 125 |
Used for computing Windows registry key names. This option is unavailable on |
| 126 |
non-Windows platforms. |
| 127 |
.SH HISTORY |
| 128 |
.IX Header "HISTORY" |
| 129 |
In OpenSSL versions prior to 3.4, OpenSSL had a limitation regarding the |
| 130 |
\&\fBOPENSSLDIR\fR, \fBMODULESDIR\fR and \fBENGINESDIR\fR build time macros. These macros |
| 131 |
were defined at build time, and represented filesystem paths. This is common |
| 132 |
practice on unix like systems, as there was an expectation that a given build |
| 133 |
would be installed to a pre-determined location. On Windows however, there is |
| 134 |
no such expectation, as libraries can be installed to arbitrary locations. |
| 135 |
\&\fBOSSL_WINCTX\fR was introduced as a new build time variable to define a set of |
| 136 |
registry keys identified by the name openssl\-<version>\-<ctx>, in which the |
| 137 |
<version> value is derived from the version string in the openssl source, and |
| 138 |
the <ctx> extension is derived from the \fBOSSL_WINCTX\fR variable. The values of |
| 139 |
\&\fBOPENSSLDIR\fR, \fBENGINESDIR\fR and \fBMODULESDIR\fR can be set to various paths |
| 140 |
underneath this key to break the requirement to predict the installation path at |
| 141 |
build time. |
| 142 |
.SH NOTES |
| 143 |
.IX Header "NOTES" |
| 144 |
The output of \f(CW\*(C`openssl version \-a\*(C'\fR would typically be used when sending |
| 145 |
in a bug report. |
| 146 |
.SH COPYRIGHT |
| 147 |
.IX Header "COPYRIGHT" |
| 148 |
Copyright 2000\-2024 The OpenSSL Project Authors. All Rights Reserved. |
| 149 |
.PP |
| 150 |
Licensed under the Apache License 2.0 (the "License"). You may not use |
| 151 |
this file except in compliance with the License. You can obtain a copy |
| 152 |
in the file LICENSE in the source distribution or at |
| 153 |
<https://www.openssl.org/source/license.html>. |