mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-06-19 22:11:21 +02:00
Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 54219df10d |
@@ -489,8 +489,6 @@ Exercise vigilance regarding copycat or coat-tailing sites that seek to exploit
|
|||||||
|
|
||||||
- #### 🐞 Bug Fixes
|
- #### 🐞 Bug Fixes
|
||||||
|
|
||||||
- add avx2 check to influxdb3 [@asylumexp](https://github.com/asylumexp) ([#15208](https://github.com/community-scripts/ProxmoxVE/pull/15208))
|
|
||||||
- Step ca leaf data patch [@heinemannj](https://github.com/heinemannj) ([#15210](https://github.com/community-scripts/ProxmoxVE/pull/15210))
|
|
||||||
- Kimai: Add APP_SECRET env var [@tremor021](https://github.com/tremor021) ([#15199](https://github.com/community-scripts/ProxmoxVE/pull/15199))
|
- Kimai: Add APP_SECRET env var [@tremor021](https://github.com/tremor021) ([#15199](https://github.com/community-scripts/ProxmoxVE/pull/15199))
|
||||||
|
|
||||||
- #### ✨ New Features
|
- #### ✨ New Features
|
||||||
|
|||||||
@@ -37,22 +37,6 @@ function update_script() {
|
|||||||
rm -f "$STEPBIN"
|
rm -f "$STEPBIN"
|
||||||
cp -f "$(which step-cli)" "$STEPBIN"
|
cp -f "$(which step-cli)" "$STEPBIN"
|
||||||
|
|
||||||
# Patch for leaf_data.tpl - Issue: #14810
|
|
||||||
sed -i \
|
|
||||||
-e 's/\[//' \
|
|
||||||
-e 's/\]//' \
|
|
||||||
"$STEPPATH/templates/x509/leaf_data.tpl"
|
|
||||||
|
|
||||||
# Patch for provisioners templateData - Issue: #14810
|
|
||||||
step ca provisioner list | jq -c '.[] | select(.options.x509.templateData != null) | .name' > /tmp/provisioner_names.json
|
|
||||||
for i in $(cat /tmp/provisioner_names.json); do
|
|
||||||
prov=`echo $i | tr -d '"'`
|
|
||||||
echo
|
|
||||||
echo "Updating provisioner $prov ..."
|
|
||||||
$STD step ca provisioner update $prov --x509-template-data=$STEPPATH/templates/x509/leaf_data.tpl
|
|
||||||
done
|
|
||||||
rm /tmp/provisioner_names.json
|
|
||||||
|
|
||||||
$STD systemctl restart step-ca
|
$STD systemctl restart step-ca
|
||||||
msg_ok "Updated step-ca and step-cli"
|
msg_ok "Updated step-ca and step-cli"
|
||||||
|
|
||||||
|
|||||||
@@ -183,8 +183,8 @@ cat <<EOF >"$X509LeafTemplateData"
|
|||||||
"country": "${PKICountry}",
|
"country": "${PKICountry}",
|
||||||
"organization": "${PKIName}",
|
"organization": "${PKIName}",
|
||||||
"organizationalUnit": "${PKIOrganizationalUnit}",
|
"organizationalUnit": "${PKIOrganizationalUnit}",
|
||||||
"issuingCertificateURL": "https://${FQDN}${LISTENER}/intermediates.pem",
|
"issuingCertificateURL": ["https://${FQDN}${LISTENER}/intermediates.pem"],
|
||||||
"crlDistributionPoints": "https://${FQDN}${LISTENER}/crl"
|
"crlDistributionPoints": ["https://${FQDN}${LISTENER}/crl"]
|
||||||
}
|
}
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user