Skip to content

Commit 54b13b0

Browse files
Remove check for certificate (#767)
1 parent ad5504d commit 54b13b0

File tree

2 files changed

+0
-9
lines changed

2 files changed

+0
-9
lines changed

Dockerfile

-7
Original file line numberDiff line numberDiff line change
@@ -59,13 +59,6 @@ RUN apk add --no-cache libpq tzdata nodejs
5959
RUN addgroup -g 1000 -S appgroup && \
6060
adduser -u 1000 -S appuser -G appgroup
6161

62-
# Download RDS certificates bundle -- needed for SSL verification
63-
# We set the path to the bundle in the ENV, and use it in `/config/database.yml`
64-
#
65-
ENV RDS_COMBINED_CA_BUNDLE /usr/src/app/config/rds-combined-ca-bundle.pem
66-
ADD https://s3.amazonaws.com/rds-downloads/rds-combined-ca-bundle.pem $RDS_COMBINED_CA_BUNDLE
67-
RUN chmod +r $RDS_COMBINED_CA_BUNDLE
68-
6962
# Copy files generated in the builder image
7063
COPY --from=builder /app /app
7164
COPY --from=builder /usr/local/bundle/ /usr/local/bundle/

config/database.yml

-2
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,3 @@ test:
1212
<<: *default
1313
production:
1414
<<: *default
15-
sslmode: <%= ENV.fetch('DATABASE_SSLMODE', 'verify-full') %>
16-
sslrootcert: <%= ENV['RDS_COMBINED_CA_BUNDLE'] %>

0 commit comments

Comments
 (0)