Skip to content


Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?


Failed to load latest commit information.
Latest commit message
Commit time
August 31, 2022 00:09
May 23, 2023 23:19
September 7, 2022 20:01
May 21, 2023 14:20
November 25, 2009 09:01
August 11, 2015 07:31
November 20, 2021 02:12

XCA -- X Certificate and Key Management


Release Notes

  • The latest release is 2.4.0
  • Most notable changes
    • Add support for Ed25519 keys
    • Add commandline support (e.g. generate CRL)
  • Fix a lot of bugs
  • Since version 2 of XCA the database format changed to SQL Don't try to open it with older versions of XCA (< 1.4.0). They will corrupt the database.
  • Please report issues on github


A detailled changelog can be found here:


This application is documented in the Help menu and here:

Build from Source


To build XCA you need:

Linux / Unix

  • Install the dependencies
    sudo apt install build-essential libssl-dev pkg-config qtbase5-dev qttools5-dev-tools libqt5sql5 libqt5help5 cmake qttools5-dev python3-sphinxcontrib.qthelp
  • Clone: git clone
  • Configure: cmake -B build xca
  • Make: cmake --build build -j5
  • Install: sudo cmake --install build
  • Or install local and copy later as root: DESTDIR=DEST cmake --install build --prefix /usr

Apple macos

  • Install the dependencies
    xcode-select --install
    brew install openssl@3 qt6 python3 cmake
    pip3 install sphinx
  • Clone: git clone
  • Configure: cmake -B build xca
  • Make: cmake --build build -j5
  • Build the DMG: cd build && cpack
  • Build the PKG: cd build && cpack -G productbuild

XCA can be used with Xcode after initializing the directory with: cmake -G Xcode -B .


  • Install the dependencies

    • Install Python for windows from the store or
    • Install OpenSSL from here: and verify the sha256 from
    • To install the Qt libraries, cmake and the MinGW compiler aqtinstall is used. Sphinx is used to generate the documentation
      pip3 install sphinx aqtinstall
    • Add the PATH shown by pip to your PATH
    • Install Qt, cmake and the MinGW toolchain
      aqt install-qt windows desktop 5.15.2 win64_mingw81
      aqt install-tool windows desktop tools_cmake
      aqt install-tool windows desktop tools_mingw\_mingw810
      aqt install-tool windows desktop tools_vcredist
    • If 7z is missing, install it from the store. 7-Zip File Manager (unofficial) or from
    • Add cmake, MinGW, OpenSSL and Qt5 to your Path
    • Create Qt5_DIR environment variable:
    • Install if you want to create the MSI installer
    • Optional for the remote database connections:
  • Clone: git clone

  • Configure: cmake -B build -G "MinGW Makefiles" xca

  • Make: cmake --build build -j5

  • Create the Portable App: cmake --build build -t install

  • Build the MSI installer (and the Portable App): cd build ; cpack