openssl/apps
Kurt Roeckx 5fd72d96a5 Replace apps/server.pem with certificate with a sha256 signature.
It replaces apps/server.pem that used a sha1 signature with a copy of
test/certs/servercert.pem that is uses sha256.

This caused the dtlstest to start failing. It's testing connection
sbetween a dtls client and server. In particular it was checking that if
we drop a record that the handshake recovers and still completes
successfully. The test iterates a number of times. The first time
through it drops the first record. The second time it drops the second
one, and so on. In order to do this it has a hard-coded value for the
expected number of records it should see in a handshake. That's ok
because we completely control both sides of the handshake and know what
records we expect to see. Small changes in message size would be
tolerated because that is unlikely to have an impact on the number of
records. Larger changes in message size however could increase or
decrease the number of records and hence cause the test to fail.

This particular test uses a mem bio which doesn't have all the CTRLs
that the dgram BIO has. When we are using a dgram BIO we query that BIO
to determine the MTU size. The smaller the MTU the more fragmented
handshakes become. Since the mem BIO doesn't report an MTU we use a
rather small default value and get quite a lot of records in our
handshake. This has the tendency to increase the likelihood of the
number of records changing in the test if the message size changes.

It so happens that the new server certificate is smaller than the old
one. AFAICT this is probably because the DNs for the Subject and Issuer
are significantly shorter than previously. The result is that the number
of records used to transmit the Certificate message is one less than it
was before. This actually has a knock on impact for subsequent messages
and how we fragment them resulting in one less ServerKeyExchange record
too (the actual size of the ServerKeyExchange message hasn't changed,
but where in that message it gets fragmented has). In total the number
of records used in the handshake has decreased by 2 with the new
server.pem file.

Reviewed-by: Paul Dale <paul.dale@oracle.com>
GH: #10784
2020-01-25 14:10:40 +01:00
..
demoSRP Remove unnecessary trailing whitespace 2019-02-05 16:25:11 +01:00
include APPS & TEST: Adapt to use the new BIO_f_prefix() 2019-12-18 19:42:44 +01:00
lib Tweak option error messages 2020-01-11 00:21:29 +01:00
asn1pars.c Add "sections" to -help output 2019-11-08 06:08:30 +10:00
build.info Move libapps.a source to apps/lib 2019-09-04 17:26:07 +02:00
ca-cert.srl
ca-key.pem
ca-req.pem
ca.c Document command parameters. 2019-11-20 09:49:52 +01:00
CA.pl.in Following the license change, modify the boilerplates in apps/ 2018-12-06 14:15:27 +01:00
cert.pem
ciphers.c Document command parameters. 2019-11-20 09:49:52 +01:00
client.pem
cms.c Document command parameters. 2019-11-20 09:49:52 +01:00
crl2p7.c Add "sections" to -help output 2019-11-08 06:08:30 +10:00
crl.c Add "sections" to -help output 2019-11-08 06:08:30 +10:00
ct_log_list.cnf Remove unnecessary trailing whitespace 2019-02-05 16:25:11 +01:00
dgst.c APPS & TEST: Eliminate as much use of EVP_PKEY_size() as possible 2020-01-19 02:47:46 +01:00
dh1024.pem Remove unnecessary trailing whitespace 2019-02-05 16:25:11 +01:00
dh2048.pem Remove unnecessary trailing whitespace 2019-02-05 16:25:11 +01:00
dh4096.pem Remove unnecessary trailing whitespace 2019-02-05 16:25:11 +01:00
dhparam.c Document command parameters. 2019-11-20 09:49:52 +01:00
dsa512.pem
dsa1024.pem
dsa-ca.pem
dsa-pca.pem
dsa.c Add "sections" to -help output 2019-11-08 06:08:30 +10:00
dsap.pem
dsaparam.c Document command parameters. 2019-11-20 09:49:52 +01:00
ec.c Add "sections" to -help output 2019-11-08 06:08:30 +10:00
ecparam.c Add "sections" to -help output 2019-11-08 06:08:30 +10:00
enc.c Add "sections" to -help output 2019-11-08 06:08:30 +10:00
engine.c Document command parameters. 2019-11-20 09:49:52 +01:00
errstr.c Document command parameters. 2019-11-20 09:49:52 +01:00
fipsinstall.c Add FIPS Self test kats for digests 2020-01-15 10:48:01 +10:00
gendsa.c Document command parameters. 2019-11-20 09:49:52 +01:00
genpkey.c Add "sections" to -help output 2019-11-08 06:08:30 +10:00
genrsa.c Document command parameters. 2019-11-20 09:49:52 +01:00
info.c Add "sections" to -help output 2019-11-08 06:08:30 +10:00
kdf.c Check the return from OPENSSL_buf2hexstr() 2019-11-29 14:21:55 +00:00
list.c Document command parameters. 2019-11-20 09:49:52 +01:00
mac.c Document command parameters. 2019-11-20 09:49:52 +01:00
nseq.c Add "sections" to -help output 2019-11-08 06:08:30 +10:00
ocsp.c Add -passin arg to ocsp 2020-01-06 17:11:47 +01:00
openssl-vms.cnf Remove unnecessary trailing whitespace 2019-02-05 16:25:11 +01:00
openssl.c APPS & TEST: Adapt to use the new BIO_f_prefix() 2019-12-18 19:42:44 +01:00
openssl.cnf Remove unnecessary trailing whitespace 2019-02-05 16:25:11 +01:00
passwd.c Deprecate the low level DES functions. 2020-01-25 09:30:59 +10:00
pca-cert.srl
pca-key.pem
pca-req.pem
pkcs7.c Add "sections" to -help output 2019-11-08 06:08:30 +10:00
pkcs8.c Add "sections" to -help output 2019-11-08 06:08:30 +10:00
pkcs12.c Add -iter option to pkcs12 command 2020-01-02 18:28:22 +03:00
pkey.c Add "sections" to -help output 2019-11-08 06:08:30 +10:00
pkeyparam.c Add "sections" to -help output 2019-11-08 06:08:30 +10:00
pkeyutl.c Add "sections" to -help output 2019-11-08 06:08:30 +10:00
prime.c Document command parameters. 2019-11-20 09:49:52 +01:00
privkey.pem
progs.c Run make update 2020-01-02 14:39:34 +00:00
progs.h Run make update 2020-01-02 14:39:34 +00:00
progs.pl Refactor apps/progs.* to be generate with 'make update' 2019-07-15 07:00:29 +02:00
provider.c Document command parameters. 2019-11-20 09:49:52 +01:00
rand.c Document command parameters. 2019-11-20 09:49:52 +01:00
rehash.c Document command parameters. 2019-11-20 09:49:52 +01:00
req.c Return 1 when openssl req -addext kv is duplicated 2019-12-16 15:05:35 +01:00
req.pem
rsa8192.pem
rsa.c Add "sections" to -help output 2019-11-08 06:08:30 +10:00
rsautl.c Add "sections" to -help output 2019-11-08 06:08:30 +10:00
s512-key.pem
s512-req.pem
s1024key.pem
s1024req.pem
s_client.c Document command parameters. 2019-11-20 09:49:52 +01:00
s_server.c commit a6efbe123af3d98b4d10d4fcdfe68dc5303212f8 2019-11-16 08:29:26 +10:00
s_time.c Add "sections" to -help output 2019-11-08 06:08:30 +10:00
server2.pem
server.pem Replace apps/server.pem with certificate with a sha256 signature. 2020-01-25 14:10:40 +01:00
server.srl
sess_id.c Add "sections" to -help output 2019-11-08 06:08:30 +10:00
smime.c Document command parameters. 2019-11-20 09:49:52 +01:00
speed.c Deprecate the low level DES functions. 2020-01-25 09:30:59 +10:00
spkac.c Add "sections" to -help output 2019-11-08 06:08:30 +10:00
srp.c Document command parameters. 2019-11-20 09:49:52 +01:00
storeutl.c Document command parameters. 2019-11-20 09:49:52 +01:00
testCA.pem
testdsa.h Following the license change, modify the boilerplates in apps/ 2018-12-06 14:15:27 +01:00
testrsa.h Following the license change, modify the boilerplates in apps/ 2018-12-06 14:15:27 +01:00
timeouts.h Fix header file include guard names 2019-09-28 20:26:36 +02:00
ts.c Check return value after loading config file 2019-12-13 13:39:31 +10:00
tsget.in apps/tsget.in: use the full version in the user agent string 2018-12-10 20:09:17 +01:00
verify.c Document command parameters. 2019-11-20 09:49:52 +01:00
version.c Deprecate the low level DES functions. 2020-01-25 09:30:59 +10:00
vms_decc_init.c VMS: move copy_argc to its own module and make it an aux source 2019-03-05 08:51:09 +01:00
x509.c Fix regression on x509 keyform argument 2019-12-19 09:58:51 +01:00