I installed DietPi 6.34 as a Vmware Workstation 16 virtual machine. I tested your new DietPi application : Bitwarden. It works in Windows 10 with the server IP (https://192.168.1.105:8001), Firefox Plugin, Opera Extension and Bitwarden app which is amazing! I did nothing at all except installing the app in DietPi and the Bitwarden app on Windows 10.
I tried on my iPhone 5s with iOS 12.4.8 but it failed on Safari and Firefox through (https://192.168.1.105:8001); it doesn’t load any pages! Bitwarden apps gives an error message.
My goal is to use Bitwarden only at home. I don’t have a domain and don’t plan to get one even if it’s free. Any ideas how to resolved this?
I guess iOS is not accepting the self signed certificate that is used in Bitwarden from DietPi side. Are there options in iOS to allow not trusted certificates? Or can you upload own certificates inside iOS?
Hi,
There is an option in iOS to allow not trusted certificates and I can upload own certificates inside iOS!
Instructions are :
Email the root certificate to yourself so you can access it on your iOS device
Click on the attachment in the email on your iOS device
Go to the settings app and click ‘Profile Downloaded’ near the top
Click install in the top right
Once installed, hit close and go back to the main Settings page
Go to “General” > “About”
Scroll to the bottom and click on “Certificate Trust Settings”
Enable your root certificate under “ENABLE FULL TRUST FOR ROOT CERTIFICATES”
I don’t see the certificate inside Bitwarden folder (/mnt/dietpi_userdata/bitwarden_rs)? I searched with Webmin but no crt files! Do I look in the wrong place?
I tried everything again today! Bitwarden web server works (https://192.168.1.105:8001), Firefox Plugin and Opera Extension too! Bitwarden app in Windows 10 failed? It says failed to fetch! I tought it works yesterday… It did or I forgot to test the Windows 10 app!?!
I tried both with rpi 3 and with windows 10 vmware virtual machine and I have same error message (everything else works)?
I also tried Edge browser, no issues with the web server! Is there a place that I should copy the certificate in Windows 10 to make it work with Bitwarden app?
Many thanks, however for Windows 10 we have a guide already, which is starting with downloading the certificate from within the browser when accessing the web vault. But from opening the certificate file on it matches yours: https://dietpi.com/docs/software/cloud/#bitwarden_rs
Happy holidays Joulinar! I’ll try that and keep you posted! If I find a solution for iOS, I’ll let you know. The only thing I know if it’s iOS 13 and more Apple made a change on certificates with what I read so I guess it will be complicated but I love challenges! And Btw, same thing for MacOS…
just follow our GitHub discussion. In meantime I discovered a way for iOS 14.3. It require a manual recreation of certificates with some new options to get iOS into a state to accept the self singed certificate. (Something not yet implemented into DietPi release.)
As well I would like to invite you to assist on adjusting our online docs as we missing MacOS for instance
It works in Windows 10 app right away! I found out why it’s failling on iOS 12 and up and as well with latest Mac OS 10 updates including new OS 11! Apple apply new restrictions to self signed certificates! https://support.apple.com/en-us/HT211025
Your certificate in Windows 10 is good until 2040 which is fine with Microsoft but Apple, guess what, doesn’t like that… !!!
As per Apple recommandation the certificate should be : “We recommend that certificates be issued with a maximum validity of 397 days.”
This brings another question, can you make a new update eventually where DietPi will update certificates automatically for Bitwarden and maybe any other apps that use certificates too? Or force certificates renewal on every DietPi updates? You might eventually add a MOTD when we do SSH saying that your certificated will expire shortly, we have a new one created ready at /ssl folder… Or add a section below MOTD : Certificates notice or whatever important message you want share with your users!
I don’t have Mac OS yet but I plan to get one eventually. Mac OS 11 interested me a lot (very good reviews), so for time being I can’t test it! With google search on my end this is how I found out this issue about both ios and mac and even if I’m below ios 13, i’m still affected according to some users on the internet.
If I do find a possible solution, even without having a mac, I’ll be more than please to share the link on the internet so any users on this forum could test it!
Hi,
It failed on iOS and install on my rpi 3 was so long… I was also having issue updating Pi-Hole and after Pi-Hole updates I could not surf anymore… I reinstall DietPi from scratch. Now Pi-Hole works properly and no surfing issue. I found a way for Bitwarden to get installed very quickly! Everything works except iOS, I can go in profile and activate it but it doesn’t work. I did the following :
Well you installed Bitwarden on Docker now. That’s why it is fast on instalation now. DietPi was going to install it directly on your System without Docker. Quite a difference.