Skip to content

Commit 797c4df

Browse files
authored
Merge pull request #9932 from cm-iwata/fix/update-ca-certs-err
Remove old certificates created by `mkcert`
2 parents def7745 + 7a9ed32 commit 797c4df

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

pkg/rancher-desktop/assets/lima-config.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,8 @@ provision:
165165
export CAROOT=/run/mkcert
166166
mkdir -p $CAROOT
167167
cd $CAROOT
168+
# Remove old mkcert certificates
169+
rm -f /usr/local/share/ca-certificates/mkcert_development_CA_*.crt
168170
mkcert -install
169171
mkcert localhost
170172
chown -R nobody:nobody $CAROOT

pkg/rancher-desktop/assets/scripts/configure-allowed-images

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ adduser -S -D -H -h /dev/null -s /sbin/nologin -u 65534 -G nobody -g nobody nobo
1414
export CAROOT=/run/mkcert
1515
mkdir -p $CAROOT
1616
cd $CAROOT
17+
# Remove old mkcert certificates
18+
rm -f /usr/local/share/ca-certificates/mkcert_development_CA_*.crt
1719
mkcert -install
1820
mkcert localhost
1921
chown -R nobody:nobody $CAROOT

0 commit comments

Comments
 (0)