Use x509 v1 certs for test use in openssl 3.3
Switch back to alpine 3.20
This commit is contained in:
parent
a194c049c7
commit
c377a28d56
2 changed files with 6 additions and 3 deletions
|
|
@ -32,7 +32,8 @@
|
|||
# ***** END LICENSE BLOCK *****
|
||||
#
|
||||
|
||||
FROM alpine:3.19
|
||||
# 3.20
|
||||
FROM alpine:latest
|
||||
MAINTAINER Olof Hagsand <olof@hagsand.se>
|
||||
|
||||
# For clixon and cligen
|
||||
|
|
@ -124,7 +125,8 @@ RUN git clone https://github.com/clicon/mib-yangs.git /usr/local/share/mib-yangs
|
|||
#
|
||||
# Stage 2
|
||||
# The second step skips the development environment and builds a runtime system
|
||||
FROM alpine:3.19
|
||||
# 3.20
|
||||
FROM alpine:latest
|
||||
MAINTAINER Olof Hagsand <olof@hagsand.se>
|
||||
|
||||
# For clixon and cligen
|
||||
|
|
|
|||
|
|
@ -1268,7 +1268,8 @@ challengePassword = test
|
|||
EOF
|
||||
|
||||
# Generate CA cert
|
||||
openssl req -batch -new -x509 -days 1 -config $tmpdir/ca.cnf -keyout $cakey -out $cacert || err "Generate CA cert"
|
||||
# XXX v3 requires usage
|
||||
openssl req -batch -new -x509v1 -days 1 -config $tmpdir/ca.cnf -keyout $cakey -out $cacert || err "Generate CA cert"
|
||||
|
||||
rm -rf $tmpdir
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue