Commit b8055105 authored by nimrod's avatar nimrod
Browse files

workbench: Update the RDS CA bundle.

parent 7f6358e6
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -328,7 +328,7 @@ RUN rabbitmqadmin --bash-completion > /etc/bash_completion.d/rabbitmqadmin && \
    #wget https://raw.githubusercontent.com/ziglang/shell-completions/master/_zig -qO /etc/bash_completion.d/zig && \
    rm -rf /tmp/* /var/tmp/* ~/.cache/*
RUN mkdir -p /usr/local/share/ca-certificates && \
    wget https://s3.amazonaws.com/rds-downloads/rds-combined-ca-bundle.pem  -qO - | \
    wget https://truststore.pki.rds.amazonaws.com/global/global-bundle.pem -qO - | \
        awk '/-----BEGIN[A-Z0-9 ]*CERTIFICATE-----/ {n++} n > 0 {print > ("/usr/local/share/ca-certificates/rds-" (1+n) ".crt")}' && \
    update-ca-certificates && \
    # pragma: allowlist nextline secret