Can you login to the mobile apps with selfhosted Lemmy?
from 3dmvr@lemm.ee to selfhosted@lemmy.world on 02 Feb 07:48
https://lemm.ee/post/54314543

It was easy enough to do it with self hosted mastodon, cant seem to login to any of the Lemmy apps with my selfhosted website? Lemmy.rip

UPDATE: I had to renew through a setting in yunohost, not automatic, porkbun was showing it as valid and I I’m used to them grabbing it automatically or having me paste it in during setup.

#selfhosted

threaded - newest

BlueEther@no.lastname.nz on 02 Feb 08:11 next collapse

I had/have no trouble here

slazer2au@lemmy.world on 02 Feb 08:13 next collapse

Can you access the instance from your phone web browser?

3dmvr@lemm.ee on 02 Feb 08:53 collapse

yes lemmy.rip works fine

kolorafa@lemmy.world on 02 Feb 09:01 next collapse

lemmy.rip doesn’t have a valid SSL which might be a problem.

<img alt="" src="https://lemmy.world/pictrs/image/a0386302-24ba-407c-8ae6-a996cc86fcba.jpeg">

slazer2au@lemmy.world on 02 Feb 09:07 collapse

Firefox has thrown a certificate error for me so maybe the app doesn’t trust your certificate?

www.ssllabs.com/ssltest/analyze.html?d=lemmy.rip&…

After thought edit: try dropping in a Let’s Encrypt cert and see how it goes.

3dmvr@lemm.ee on 02 Feb 09:37 collapse

Yeah, I had to renew through a setting in yunohost, got used to panels/managers doing it automatically or letting me paste it in

abeorch@friendica.ginestes.es on 02 Feb 10:06 collapse

@slazer2au @3dmvr Yunohost should renew automatically. I got a renewal email from my Yunohost instance this morning. Check your cron job is running.

sjmarf@sh.itjust.works on 02 Feb 08:32 next collapse

Mobile apps should allow you to log into any instance. My Lemmy client won’t connect to lemmy.rip either, and fails with the following error:

The certificate for this server is invalid. You might be connecting to a server that is pretending to be “lemmy.rip”, which could put your confidential information at risk.

This is also what I see when I try to connect to lemmy.rip in the browser:

<img alt="" src="https://sh.itjust.works/pictrs/image/e505ab99-73b7-482f-9de4-33595b8f8cbd.png">

I am able to bypass this warning and see the site in the browser.

mhzawadi@lemmy.horwood.cloud on 02 Feb 08:46 next collapse

Yes you can use lemmy apps to access a self hosted instance, but you will need a real certificate for that to work.

A quick check of Lemmy.rip show it has a self signed certificate, thats not going to allow you to access it easily and my even stop federation from working.

You should be able to get a lets encrypt certificate very easily.

3dmvr@lemm.ee on 02 Feb 08:52 next collapse

forsure I thought it had one through porkbun but yunohost might be messing with that

hendrik@palaver.p3x.de on 02 Feb 09:00 collapse

yunohost has a dedicated page in the admin ui for you to configure your domains and certificates. default is a self-signed one unless you generate a proper one

Dirk@lemmy.ml on 03 Feb 16:47 collapse

It’s 2025. Not having “real certificates” is something admins intentionally do. Since there is Let’s Encrypt available, all other solutions for non-paid certificates are obsolete.

mhzawadi@lemmy.horwood.cloud on 03 Feb 19:22 collapse

With let’s encrypt and DNS APIs, theres no excuse not to have a real certificate!

More so if you want to have that service interacte with other systems not your own

Dirk@lemmy.ml on 03 Feb 19:34 collapse

Exactly. With directly using certbot handling all and everything fully automatically I ran my old setup with a free dyndns subdomain for quite some time without any issues.

Since Let’s encrypt nowadays is basically implemented in every reverse proxy: certificates are an absolute no-brainer.

If someone manages to buy and configure a domain to serve selfhosted content, this person will also be able to either set up certbot or use the built-in functionality of their reverse proxy.

Shimitar@downonthestreet.eu on 02 Feb 09:05 next collapse

Mine worke just fine, what errors do you get? Does it work from web access?

Is your instance accessible from outside your self host? Does it federate?

Shimitar@downonthestreet.eu on 02 Feb 09:07 collapse

I see the error… You need a valid and non self-signed cert. See how letsencrypt work, its easy and the industry standard today on certs. Its also free and open source.

3dmvr@lemm.ee on 02 Feb 09:35 collapse

Yeah I had to click renew manually in yunohost, just assumed if porkbun showed it as valid it would work, my panels for wordpress mightve been doing it automatically lol

Shimitar@downonthestreet.eu on 02 Feb 10:56 collapse

Glad you fixed it!