eVill Posted May 19, 2021 Share Posted May 19, 2021 I have set up C2 server and created a self.signed certificate as in this guide: https://docs.hak5.org/hc/en-us/articles/360049664554-Cloud-C2-setup-with-self-signed-SSL-certificates If have also copied cert.crt to my Keycroc and to file /etc/ssl/cert.pem (as in the guide above). But my Keycroc is not able to form a connection to C2 server. TLS-handshake failure: "Unknown CA". I also have SharkJack connected to the same server (with same settings) and there is no problem with that one. Link to comment Share on other sites More sharing options...
eVill Posted May 21, 2021 Author Share Posted May 21, 2021 Have someone been able to connect Keycroc to a C2-server with self-signed certificate? If yes, any tips? Link to comment Share on other sites More sharing options...
chrizree Posted May 21, 2021 Share Posted May 21, 2021 Try the following on the Croc: apt update apt install p11-kit trust anchor /etc/ssl/certs/cert.crt If getting an error like "no configured writable location to store anchors", then import the cert manually by copying the certificate (crt) file to /usr/local/share/ca-certificates Then execute: update-ca-certificates The Croc should show in C2 without need of doing any additional actions (such as reboot, etc.) Link to comment Share on other sites More sharing options...
eVill Posted May 26, 2021 Author Share Posted May 26, 2021 @chrizree superb, thanks! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.