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