Skip to content

Commit c6f645a

Browse files
committed
add a temporary measure to remove existing API BN certs
1 parent 9cc994d commit c6f645a

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

ic-os/components/init/bootstrap-ic-node/bootstrap-ic-node.sh

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -190,3 +190,12 @@ write_metric "guestos_node_operator_private_key_exists" \
190190
"${node_operator_private_key_exists}" \
191191
"Existence of a Node Operator private key indicates the node deployment method" \
192192
"gauge"
193+
194+
# temporary fix to remove existing certificates of the API BNs
195+
if [ -f /var/lib/ic/data/ic-boundary-tls.key ]; then
196+
rm /var/lib/ic/data/ic-boundary-tls.key
197+
fi
198+
199+
if [ -f /var/lib/ic/data/ic-boundary-tls.crt ]; then
200+
rm /var/lib/ic/data/ic-boundary-tls.crt
201+
fi

0 commit comments

Comments
 (0)