Changelog background image

Never miss a release, subscribe to our product updates.

We protect your privacy.

Thank you!

You will now be informed about our future product updates.

Star Passbolt on Github

It’s the best way to receive release notes instantly and show that you support Passbolt.

Star Passbolt repo
Github illustration
All articles

Wanna use Keycloak to sign in to your Passbolt instance? Here's the way to go

10 min. read

Max Zanardo

Max Zanardo

1 February, 2024

Use Keycloak to sign in to your Passbolt instance

version: '3'

volumes:
  postgres_data:
      driver: local
  keycloak_data:

services:
  postgres:
      image: postgres
      volumes:
        - postgres_data:/var/lib/postgresql/data
      environment:
        POSTGRES_DB: keycloak
        POSTGRES_USER: keycloak
        POSTGRES_PASSWORD: password
  keycloak:
      image: quay.io/keycloak/keycloak:latest
      environment:
        KEYCLOAK_ADMIN: admin
        KEYCLOAK_ADMIN_PASSWORD: admin123
        KEYCLOAK_LOGLEVEL: INFO
        ROOT_LOGLEVEL: INFO
        KC_HTTPS_CERTIFICATE_FILE: /opt/keycloak/conf/server.crt.pem
        KC_HTTPS_CERTIFICATE_KEY_FILE: /opt/keycloak/conf/server.key.pem
      ports:
        - "8081:8080"
        - "8787:8787"
        - "8443:8443"
      command:
        - start-dev
        - --features admin-fine-grained-authz
      volumes:
        - keycloak_data:/opt/keycloak/data
        - ./domain.crt:/opt/keycloak/conf/server.crt.pem
        - ./domain.key:/opt/keycloak/conf/server.key.pem
authorityKeyIdentifier=keyid,issuer
basicConstraints=CA:FALSE
subjectAltName = @alt_names
[alt_names]
DNS.1 = keycloak.passbolt.local
#!/bin/sh

openssl req -x509 -sha256 -days 2000 -newkey rsa:2048 -subj "/C=LU/ST=Luxembourg/L=Esch-Sur-Alzette/O=Local CA/OU=Local CA/CN=My RootCA" -nodes -keyout rootCA.key -out rootCA.crt

openssl req -newkey rsa:2048  -subj "/C=LU/ST=Luxembourg/L=Esch-Sur-Alzette/O=Keycloak local/OU=Keycloak local test/CN=keycloak.passbolt.local/" -nodes -addext "subjectAltName = DNS:keycloak.passbolt.local" -keyout domain.key -out domain.csr

openssl x509 -req -CA rootCA.crt -CAkey rootCA.key -in domain.csr -out domain.crt -days 365 -CAcreateserial -extfile ssl_gen_config.txt
./createSslKeys.sh
docker-compose -f docker-compose.yaml up
127.0.0.1  keycloak.passbolt.local
ping  keycloak.passbolt.local
# The certificate file has to be placed in `/usr/share/ca-certificates` folder or subfolders to be detected 
mv rootCA.crt /usr/share/ca-certificates/rootCA.crt

# Update the list of trusted certificates
sudo dpkg-reconfigure ca-certificates
curl -s -o /dev/null -v https://keycloak.passbolt.local:8443

Continue reading

Passbolt Helm Chart Now Supports PostgreSQL

3 min. read

Passbolt Helm Chart Now Supports PostgreSQL

Our Helm Chart now supports PostgreSQL!

Passbolt team

Passbolt team

29 January, 2024

FOSDEM 2024 Retrospective

4 min. read

FOSDEM 2024 Retrospective

At FOSDEM 2024, the Passbolt team not only connected with the open-source community but also shared insights on the future of authentication technologies through engaging talks. Join us in exploring the event's highlights and our team's key takeaways.

Phibasara Wanniang

Phibasara Wanniang

9 February, 2024

Flag of European UnionMade in Europe. Privacy by default.