Bläddra i källkod

Adding instructions for SSL

Andrej Studen 1 dag sedan
förälder
incheckning
b7d14602da
1 ändrade filer med 11 tillägg och 0 borttagningar
  1. 11 0
      README.md

+ 11 - 0
README.md

@@ -99,9 +99,20 @@ Create `${POSTGRES_DIR}` directory as user that will be running the container.
 If you have trouble with initial setup, the base can be reset by deleting everything under `postgresql/data`.
 
 
+### SSL
+
+This worked for importing openssl certificates to keystore:
+```bash
+keytool -importkeystore -alias localhost@nixlju-ca -srckeystore SSL/localhost.p12 -destkeystore SSL/keystore.p12 -deststoretype PKCS12 -srcstoretype PKCS12
+keytool -import -trustcacerts -alias nix-ca -file SSL/chain.crt -destkeystore SSL/keystore.p12 
+```
+
+
 ### Expected errors
   
 Errors of the type `500: Unexpected server error` are common and related 
   
+
+
 [docker]: https://docs.docker.com/engine/install/
 [dockerCompose]: https://docs.docker.com/compose/install/