TLDR; Here is my Dockerfile FROM openjdk:8-jdk MAINTAINER Brayton # create a temp dir in which to work RUN OLDDIR="$PWD" RUN mkdir /tmp/rds-ca && cd /tmp/rds-ca # download the AWS RDS SSL bundle RUN wget https://s3.amazonaws.com/rds-downloads/rds-combined-ca-bundle.pem # split the bundle