I am trying to establish ssl connection between bitbucket server(hosted on EC2 instance) and AWS RDS oracle database giving error. when i try to establish the ssl connection using openssl from bitbucket server to db. ssl connection is established and comes fine. but when i try to add the changes in bitbucker.properties file for the same. i am getting different errors and bitbucket server not coming up after restart. my bitbucket.properties file looks like:
jdbc.driver=org.oracle.Driver
jdbc.url=<url>:8442/ORACLE
jdbc.user=bitbucketuser
jdbc.password=****
server.port=8442
server.secure=true
server.ssl.enabled=true
server.ssl.protocol=TLSv1.2
server.ssl.key-store="path/to/my/keystorepath"
server.ssl.key-store-password="mypassword"
server.require-ssl=true
server.ssl.key-alias=tomcat
server.ssl.keystore-type=JKS
prior to this, i have created the options for ssl enable at port 8442 and attached it to option group. restarted db to reflect the changes. i also followed the following document to add the certificate in to my bitbucket path. https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/ssl-certificate-rotation-oracle.html.
can anyone help me to provide the properties file structure/details for enabling the ssl from bitbucket server to oracle rds or guide me with the steps for ssl establish between bitbucket server to rds db?
Much appreciated!!!