For Docker Camunda tomcat 7.17 when connecting to postgres ssl getting error Could not open SSL root certificate file /root/.postgresql/root.crt

org.apache.tomcat.jdbc.pool.ConnectionPool.init Unable to create initial connections of pool.
camunda_1 | org.postgresql.util.PSQLException: Could not open SSL root certificate file /root/.postgresql/root.crt.
camunda_1 | at org.postgresql.ssl.LibPQFactory.(LibPQFactory.java:150)
camunda_1 | at org.postgresql.core.SocketFactoryFactory.getSslSocketFactory(SocketFactoryFactory.java:61)
camunda_1 | at org.postgresql.ssl.MakeSSL.convert(MakeSSL.java:34)
camunda_1 | at org.postgresql.core.v3.ConnectionFactoryImpl.enableSSL(ConnectionFactoryImpl.java:571)
camunda_1 | at org.postgresql.core.v3.ConnectionFactoryImpl.tryConnect(ConnectionFactoryImpl.java:168)
camunda_1 | at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:235)
camunda_1 | at org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:49)
camunda_1 | at org.postgresql.jdbc.PgConnection.(PgConnection.java:223)
camunda_1 | at org.postgresql.Driver.makeConnection(Driver.java:400)
camunda_1 | at org.postgresql.Driver.connect(Driver.java:259)
camunda_1 | at org.apache.tomcat.jdbc.pool.PooledConnection.connectUsingDriver(PooledConnection.java:347)
camunda_1 | at org.apache.tomcat.jdbc.pool.PooledConnection.connect(PooledConnection.java:228)
camunda_1 | at org.apache.tomcat.jdbc.pool.ConnectionPool.createConnection(ConnectionPool.java:769)
camunda_1 | at org.apache.tomcat.jdbc.pool.ConnectionPool.borrowConnection(ConnectionPool.java:697)
camunda_1 | at org.apache.tomcat.jdbc.pool.ConnectionPool.init(ConnectionPool.java:496)
camunda_1 | at org.apache.tomcat.jdbc.pool.ConnectionPool.(ConnectionPool.java:154)
camunda_1 | at org.apache.tomcat.jdbc.pool.DataSourceProxy.pCreatePool(DataSourceProxy.java:121)
camunda_1 | at org.apache.tomcat.jdbc.pool.DataSourceProxy.createPool(DataSourceProxy.java:110)
camunda_1 | at org.apache.tomcat.jdbc.pool.DataSourceFactory.createDataSource(DataSourceFactory.java:560)
camunda_1 | at org.apache.tomcat.jdbc.pool.DataSourceFactory.getObjectInstance(DataSourceFactory.java:244)
camunda_1 | at org.apache.naming.factory.FactoryBase.getObjectInstance(FactoryBase.java:96)
camunda_1 | at java.naming/javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:330)
camunda_1 | at org.apache.naming.NamingContext.lookup(NamingContext.java:864)
camunda_1 | at org.apache.naming.NamingContext.lookup(NamingContext.java:158)
camunda_1 | at org.apache.naming.NamingContext.lookup(NamingContext.java:850)
camunda_1 | at org.apache.naming.NamingContext.lookup(NamingContext.java:172)
camunda_1 | at org.apache.catalina.core.NamingContextListener.addResource(NamingContextListener.java:1013)
camunda_1 | at org.apache.catalina.core.NamingContextListener.createNamingContext(NamingContextListener.java:552)
camunda_1 | at org.apache.catalina.core.NamingContextListener.lifecycleEvent(NamingContextListener.java:245)
camunda_1 | at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:123)
camunda_1 | at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:919)
camunda_1 | at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
camunda_1 | at org.apache.catalina.startup.Catalina.start(Catalina.java:772)
camunda_1 | at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
camunda_1 | at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
camunda_1 | at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
camunda_1 | at java.base/java.lang.reflect.Method.invoke(Method.java:566)
camunda_1 | at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:345)
camunda_1 | at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:476)
camunda_1 | Caused by: java.io.FileNotFoundException: /root/.postgresql/root.crt (No such file or directory)
camunda_1 | at java.base/java.io.FileInputStream.open0(Native Method)
camunda_1 | at java.base/java.io.FileInputStream.open(FileInputStream.java:219)
camunda_1 | at java.base/java.io.FileInputStream.(FileInputStream.java:157)
camunda_1 | at java.base/java.io.FileInputStream.(FileInputStream.java:112)
camunda_1 | at org.postgresql.ssl.LibPQFactory.(LibPQFactory.java:147)