WIP: client certificates for tablets #191

Draft
Mark-van-der-Klaauw wants to merge 1 commit from Mark-van-der-Klaauw/intranet:feat/tablet-cert-download into main

Work in progress, not meant to be merged. It shows the approach for
letting the old tablets identify themselves with a TLS client
certificate, the same way the nodes do.

Adds the trustee page "Tablet certificate" (/tablet/certificate/). It
generates a self-signed TLS client certificate for a tablet, as a .p12
download with the fixed password 12345. With it, the tablet can
register as an ordinary Terminal. The terminal app is unchanged.

Notes:

  • The certificate is a legacy 3DES/SHA-1 PKCS12 file. Old tablets
    cannot import the modern format.
  • The password is fixed and public on purpose: only trustees can
    download the certificate file onto the tablet, and the tablets
    require a password when installing it.
  • Accepting a tablet needs permission for Terminals in the Django admin.
Work in progress, not meant to be merged. It shows the approach for letting the old tablets identify themselves with a TLS client certificate, the same way the nodes do. Adds the trustee page "Tablet certificate" (/tablet/certificate/). It generates a self-signed TLS client certificate for a tablet, as a .p12 download with the fixed password 12345. With it, the tablet can register as an ordinary Terminal. The terminal app is unchanged. Notes: - The certificate is a legacy 3DES/SHA-1 PKCS12 file. Old tablets cannot import the modern format. - The password is fixed and public on purpose: only trustees can download the certificate file onto the tablet, and the tablets require a password when installing it. - Accepting a tablet needs permission for Terminals in the Django admin.
feat: client certificates for tablets
All checks were successful
Verify Pull Request / tests (pull_request) Successful in 2m23s
cdcb4d3c67
Work in progress, not meant to be merged. It shows the approach for
letting the old tablets identify themselves with a TLS client
certificate, the same way the nodes do.

Adds the trustee page "Tablet certificate" (/tablet/certificate/). It
generates a self-signed TLS client certificate for a tablet, as a .p12
download with the fixed password 12345. With it, the tablet can
register as an ordinary Terminal. The terminal app is unchanged.

Notes:
- The certificate is a legacy 3DES/SHA-1 PKCS12 file. Old tablets
  cannot import the modern format.
- The password is fixed and public on purpose: only trustees can
  download the certificate file onto the tablet, and the tablets
  require a password when installing it.
- Accepting a tablet needs permission for Terminals in the Django admin.
All checks were successful
Verify Pull Request / tests (pull_request) Successful in 2m23s
Required
Details
This pull request is marked as a work in progress.
This branch is out-of-date with the base branch
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u feat/tablet-cert-download:Mark-van-der-Klaauw-feat/tablet-cert-download
git switch Mark-van-der-Klaauw-feat/tablet-cert-download
Sign in to join this conversation.
No reviewers
No labels
Draft
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
msl/intranet!191
No description provided.