Age | Commit message (Collapse) | Author |
|
ok patrick@
|
|
ok patrick@
|
|
avoids sh difficulties, etc.
from Matthew Martin.
ok deraadt reyk
|
|
validity for the ca certificate. Raise this from 365 days to 4500 as expiry means
installing new CA certificates on all client machines which can cause significant
pain. This doesn't change the default validity for server certificates which
remains at 1 year (controlled by ikeca.cnf) - refreshing key and certificate
on these can be done easily without visiting all machines. ok deraadt@
|
|
already sets the extension values and returns. ca_sign() re-uses the
information to write out the extension file. Since ca_request() uses
strings stored on the stack, on return the pointers to those strings
will be unusable. To fix this, strdup() the strings passed ca_setenv()
so we can re-use them in another scope. And free() them when we clear
the environment in ca_clrenv().
Initial report and diff from Andrei-Marius Radu.
ok markus@
|
|
From Andrei-Marius Radu via sthen@
|
|
set to the cert to revoke, and indirectly from ca_create() with a
keyname set to NULL.
ca_create() sets REQ_EXT so avoid setting it in ca_revoke() when keyname
is NULL and the crl database is being initialised.
Avoids "REQ_EXT already set" when creating a CA error introduced
in rev 1.44 which set REQ_EXT unconditionally in ca_revoke().
|
|
|
|
ok yasuoka mikeb
|
|
in r1.41. ok reyk deraadt
|
|
when signing the certificates by the local CA. This can make things easier if
you want to take a CSR from ikectl to another CA for signing, they often copy
extensions from the request. ok reyk@
|
|
As the ca section of the cnf file requires a default_md line
(unlike req) this change also requires updating the installed ikeca.cnf
or equivalent files.
Requested by and ok reyk@ who also tested this against ios9 with iked.
|
|
This way openssl will add valid signed certs to the index file
which is required to use the builtin openssl OCSP server.
This change requires installing a new ikeca.cnf or updating
the default cnf files with equivalent sections.
Requested by and ok reyk@
|
|
key usage for OCSP signing.
Requested by and ok reyk@
|
|
Based on previous observation by semarie@
|
|
|
|
Pointed out by semarie@
|
|
OK jsg@
|
|
the environment has been removed in LibreSSL. This was a good step
but it unintentionally broke the "ikectl ca" commands. Rework the
implementation for copying the .cnf files and expanding the $ENV::
variables ourselves before passing the generated .cnf file to the
"openssl" command.
Reported and tested by Jona Joachim (thanks!)
OK jsg@
|
|
ok sthen@
|
|
- a if condition don't set errno
- strlcpy(3) don't set errno (no mention is man page)
- ca_readpass() already manage errno error message with warn(3)
ok sthen@
|
|
possible. Annotate <sys/param.h> lines with their current reasons. Switch
to PATH_MAX, NGROUPS_MAX, HOST_NAME_MAX+1, LOGIN_NAME_MAX, etc. Change
MIN() and MAX() to local definitions of MINIMUM() and MAXIMUM() where
sensible to avoid pulling in the pollution. These are the files confirmed
through binary verification.
ok guenther, millert, doug (helped with the verification protocol)
|
|
a system/superuser binary. At the same time, move the source code from its
current lib/libssl/src/apps location to a more appropriate home under
usr.bin/openssl.
ok deraadt@ miod@
|
|
concept ok deraadt@
diff looks ok tedu@
|
|
the errno of an intervening cleanup operation like close/unlink/etc.
Diff from Doug Hogan (doug (at) acyclic.org)
|
|
ok beck reyk
|
|
to 2013 while I'm here... this is my way of saying "happy new year!".
|
|
reported by david hill
|
|
Makefile. No functional change.
|
|
sure jsg@ mikeb@
|
|
discussed with guenther
|
|
|
|
and extendedkeyusage and nscerttype flags. the ikectl CA can now be used
with all kinds of other vpn tools in addition to iked and isakmpd.
ok phessler@
|
|
case as well, spotted by mikeb
|
|
are relative to /etc
|
|
install into the isakmpd directory hierarchy for example.
|
|
|
|
|
|
scripting). The "peer" argument now needs to be preceded with the "peer"
keyword, eg. ... export peer 10.1.1.1 instead of export 10.1.1.1.
|
|
set openssl batch mode: don't ask for x509 options, use the defaults.
- allow to specify the initial ca password on the command line to also
make it scriptable.
- allow to create certificates for clientAuth or serverAuth only
(eg. ikectl ca foo certificate bar server).
- cosmetics: move double declarations of ca_*() functions to parser.h.
ok phessler@
|
|
perms of /etc/iked when extracting
OK jsg@
|
|
While here, set our used defaults in the config file.
OK reyk@, jsg@
|
|
in the cert case.
|
|
|
|
and make both export commands optionally take an argument that will be
added to a peer.txt file in the exported output. Additionally
include any site specific notes from /usr/share/iked if present.
man page bits and help with the parser from reyk
|
|
|
|
involving certificates as suggested by reyk and don't
recreate private keys if a key already exists.
ok reyk@
|
|
make the ca install command install the CRL as well.
discussed with reyk@
|
|
|
|
readable as suggested by reyk@
|