-
Hello Team, I was reading through the blog post on Confidential Gitlab - https://www.edgeless.systems/resource-library/confidential-gitlab/. I need more clarity around the section "What about user connections?"
I have two questions:
Also, I see that the blog post for Rocket Chat application gives a Thank you in advance for your help on this matter |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hey @prahaladd, The value that goes into $ echo | openssl s_client -servername gitlab.edgeless.systems -connect gitlab.edgeless.systems:443 | openssl x509 -pubkey -noout > pubkey
$ cat pubkey | openssl pkey -pubin -outform der | openssl dgst -sha256 -binary | base64
SdZHpn0+6Wwd6Q5dgs2u60IGADQJfipSePJOkLZHjU0= The first command downloads the certificate, parses the public key and writes it into the file You can follow these steps to collect the public key for any service available over TLS. How you pin the public key depends on the application you are using. For git it is We are looking into the rocket chat deployment. Hope that helps! |
Beta Was this translation helpful? Give feedback.
Hey @prahaladd,
thanks for your interest!
The value that goes into
pinnedPubkey
is the base64 encoded sha256 hash of the public key you want to pin. To generate the value you could do this:The first command downloads the certificate, parses the public key and writes it into the file
pubkey
. The second command generates the sha256 digest of the public key and encodes it in base64.You can follow these steps to collect the …