cr38g Posted March 1 Share Posted March 1 (edited) Greetings, Everything went well after installing Cloud C2, getting the server to auto-service after reboot, and running services. When I tried to connect for the second time, it said on the Cloud C2 MKVII side, offline "gray button." When checking the system status with "sudo systemctl status cloudc2.service." Mar 01 15:49:57 ip-x.x.x.x c2-3.3.0_amd64_linux[722]: 2024/03/01 15:49:57 http: TLS handshake error from x.x.x.x:36570: acme/autocert: host "x.x.x.x" not configured in HostWhitelist Thank you for any assistance. Edited March 1 by cr38g Quote Link to comment Share on other sites More sharing options...
dark_pyrro Posted March 1 Share Posted March 1 Hmmm, ok, so... the content of the post doesn't sync with the topic anymore. Guess the first "issue" was resolved then. In what way are you starting your C2 server? Using the -https parameter I guess, since it's a log message that related to TLS. Are you using a domain name along with the https parameter? From previous posts, it seems as if you do. (You might also try not posting IP addresses that are "live", but that's your choice if you want to display that kind of information or not). Also, you've posted about something very similar recently in another thread. In that thread you posted that you got a solution. Didn't that solution work? Quote Link to comment Share on other sites More sharing options...
cr38g Posted March 1 Author Share Posted March 1 After Cloud C2 installation I ran the command; ".c2-3.3.0_amd64_linux -hostname mypage.com -https." 1. Everything went fine. I went to mypage.com 2. Hak5 Cloud C2 page appeared entered all the information required. 3. Download the device.conf file and install it in the MKVII. 4. I set the server to auto-reboot service; sudo mv c2-3.2.0_amd64_linux /usr/local/bin sudo mkdir /var/cloudc2 sudo mv c2.db /var/cloudc2/ sudo vi /etc/systemd/system/cloudc2.service Created a c2.db file; [Unit] Description=Hak5 Cloud C2 After=cloudc2.service [Service] Type=idle ExecStart=/usr/local/bin/c2-3.2.0_amd64_linux -hostname mypage.com -https -db /var/cloudc2/c2.db [Install] WantedBy=multi-user.target Then Reload, enable and reboot with; sudo systemctl daemon-reload sudo systemctl enable cloudc2.service sudo systemctl start cloudc2.service sudo systemctl status cloudc2.service Everything worked great until I tried to connect for the second time. I came across this error; Mar 01 15:49:57 ip-x.x.x.x c2-3.3.0_amd64_linux[722]: 2024/03/01 15:49:57 http: TLS handshake error from x.x.x.x:36570: acme/autocert: host "x.x.x.x" not configured in HostWhitelist "Also, you've posted about something very similar recently in another thread. In that thread you posted that you got a solution. Didn't that solution work?" I did when I updated the firmware on the MKVII. Thanks for asking. Thank you for reminding me to be cautious of what information to share. I do not know why I am getting this error when nothing has changed on the setup. P.S. Sorry, I couldn't find a way to change the topic name. It was not intentional. Quote Link to comment Share on other sites More sharing options...
dark_pyrro Posted March 2 Share Posted March 2 Despite the messages you get when checking the service status, is the Could C2 server working? I.e. can you access the web UI? (Excluding the fact that your Pineapple might not connect successfully). Quote Link to comment Share on other sites More sharing options...
cr38g Posted March 16 Author Share Posted March 16 I decided to reinstall everything on the Pineapple Mark VII and the server. Now, everything seems to work. Sometimes, when I connect to my webpage, it looks like it's offline, but after some minutes, it's online. Thank you for your help and patience. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.