Skip to content

Conversation

@luixxiul
Copy link
Contributor

This does not work yet: see mother-of-all-self-hosting/ansible-role-cryptpad#7.

Any helps are appreciated!

Signed-off-by: Suguru Hirahara <[email protected]>
@moan0s
Copy link
Member

moan0s commented Mar 29, 2025

Hi @luixxiul,
I fixed the role and tested it successfully. Maybe you can check as well? I also added some basic documentation.

Basically, the issue was, that Cryptpad needs one certificate, that covers both domains. Back when I created that role, I didn't know how to do this, however I now found a solution (see 63d6bc91199c18745c79b9d1af80a83ba2c51bfb).

@moan0s moan0s added the New Service Adds a new service to the playbook label Mar 29, 2025
@moan0s moan0s marked this pull request as ready for review March 29, 2025 11:46
@luixxiul
Copy link
Contributor Author

I'll check and get back to you soon!

@luixxiul luixxiul self-assigned this Mar 30, 2025
@luixxiul
Copy link
Contributor Author

luixxiul commented Mar 30, 2025

Seemingly its UI works, but /checkup/ page (cryptpad.example.com/checkup/) returns three critical errors related to Content-Security-Policy headers.

Also note that unlike other services it does not seem to possible to create a first admin account with cryptpad_admin_keys on vars.yml as it is against the core concept of E2EE; you'd need to visit the URL generated during the installation to create the account manually on a web browser. The URL can be checked by running this command:

$ sudo journalctl -u mash-cryptpad | grep "Create your first admin account" -A 1

Per Slavi the process can be automated with slurp but I am not quite sure how to.

@luixxiul luixxiul removed their assignment Mar 30, 2025
@moan0s
Copy link
Member

moan0s commented Apr 19, 2025

Seemingly its UI works, but /checkup/ page (cryptpad.example.com/checkup/) returns three critical errors related to Content-Security-Policy headers.

I tried various things to fix it, so far I'm not successful. any help is appreciated. I'll also continue to try.

@moan0s
Copy link
Member

moan0s commented Jul 20, 2025

FYI: I run my instance since my last comment. The CSP errors seem to "only" affect security, not stability/function

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

New Service Adds a new service to the playbook

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants