• 2 Posts
  • 11 Comments
Joined 1Y ago
cake
Cake day: Jul 17, 2023

help-circle
rss

like the other commenter said, CA is different from a client cert. I’ll try that and see how it goes


Oh i thought they are the same. I look into how to create a self-signed CA and see if it helps


Yeah that’s what im using right now. But i want to add security by using a certificate when logging in


This may be more of an Android issue than self-hosting, but i run Radicale on my personal server to host caldav/carddav services. I want to login with uname&pword with a certificate. I found this video in Davx5 github page showing that a user can select the cert: [video](https://github.com/bitfireAT/davx5-ose/discussions/787#discussioncomment-9557861) I generated a self-signed cert from my server and installed that to my Android phone via Settings > Security&Privacy > Encryption&Credentials. But i dont get the same as the video. It keeps telling me `No certificate found` ![](https://lemmy.ml/pictrs/image/c6f0253c-06ff-49c3-8792-62f63e789bca.png) Clicking the install button and selecting my cert will say > Install CA certificates in Settings > This certificate from null must be installed in Settings. Only install CA certificates from organizations you trust.
fedilink






so what are the options for the customers like us if we don’t want them to access our server? how do i know if they logged in using a different method other than ssh?


wait, the 3rd command is vi. I mean that’s not an automated script, it should be executed manually, right?


good point, it’s just a test server for now so I’ll try to reinstall OS and check if same commands will show in history


History shows command I didn’t run on my VPS
Hey guys, I saw this in my VPS when checking history: ``` 1 chmod +x /usr/lib/virt-sysprep/scripts/0001-swapoff--dev-vda2-mkswap--dev-vda2-swapon--dev-vda2-resize2f 2 cat /usr/lib/virt-sysprep/scripts/0001-swapoff--dev-vda2-mkswap--dev-vda2-swapon--dev-vda2-resize2f 3 vi /usr/lib/virt-sysprep/scripts/0001-swapoff--dev-vda2-mkswap--dev-vda2-swapon--dev-vda2-resize2f ``` here is the content of the script: ``` # cat /usr/lib/virt-sysprep/scripts/0001-swapoff--dev-vda2-mkswap--dev-vda2-swapon--dev-vda2-resize2f swapoff /dev/vda2;mkswap /dev/vda2;swapon /dev/vda2;resize2fs /dev/vda1;yum -y update;systemctl disable guestfs-firstboot;reboot ``` This is a new server I provisioned on my VPS in racknerd. The command looks safe, but I'm wondering if these commands were executed on its own? Or someone has logged in to my VPS? This is also not normal, isn't it?
fedilink