aboutsummaryrefslogtreecommitdiff
path: root/genenetwork
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2024-06-28 14:38:22 -0500
committerFrederick Muriuki Muriithi2024-06-28 14:38:22 -0500
commit703c7a523603b2a41826ff9bb8d784bd6a925297 (patch)
treeb1971d6bf1dae39d187c9648576832f37b2df893 /genenetwork
parente48c3a5d50204e5b6f5abd8729a8a10dd1008626 (diff)
downloadgn-machines-703c7a523603b2a41826ff9bb8d784bd6a925297.tar.gz
Add JWT SSL keys configurations.
Diffstat (limited to 'genenetwork')
-rw-r--r--genenetwork/services/genenetwork.scm8
1 files changed, 6 insertions, 2 deletions
diff --git a/genenetwork/services/genenetwork.scm b/genenetwork/services/genenetwork.scm
index a3eca2b..29a68c0 100644
--- a/genenetwork/services/genenetwork.scm
+++ b/genenetwork/services/genenetwork.scm
@@ -211,7 +211,9 @@ object."
("AUTH_SERVER_URL" ,(string-append "https://" gn-auth-server-name "/"))
("JS_GUIX_PATH" ,(file-append gn2-profile "/share/genenetwork2/javascript"))
("PLINK_COMMAND" ,(file-append gn2-profile "/bin/plink2"))
- ("SQL_URI" ,sql-uri)))))
+ ("SQL_URI" ,sql-uri)
+ ("SSL_PRIVATE_KEY" ,(string-append gn2-secrets "/gn2-ssl-private-key.pem"))
+ ("AUTH_SERVER_SSL_PUBLIC_KEY" ,(string-append gn2-secrets "/gn-auth-ssl-public-key.pem"))))))
(gn3-conf (computed-file "gn3.conf"
(configuration-file-gexp
`(("AUTH_DB" ,auth-db)
@@ -224,7 +226,9 @@ object."
(configuration-file-gexp
`(("AUTH_DB" ,auth-db)
("SQL_URI" ,sql-uri)
- ("GN_AUTH_SECRETS" ,gn-auth-secrets))))))
+ ("GN_AUTH_SECRETS" ,gn-auth-secrets)
+ ("CLIENTS_SSL_PUBLIC_KEYS_DIR" ,(string-append gn-auth-secrets "/clients-public-keys"))
+ ("SSL_PRIVATE_KEY" ,(string-append gn-auth-secrets "/gn-auth-ssl-private-key.pem")))))))
(list (gunicorn-app
(name "genenetwork2")
(package genenetwork2)