X Certificate and Key management
Go to file
Christian Hohnstaedt 2333b02ddc Close #384: Quick view of certificates without trying to open XCA
The ImportMulti dialog does not show up if there is only
one item to display, but the item is displayed directly.

The displayed items have a new "Import" button to import
directly from the viewed item.

If XCA is called with certs, crls, keys etc. from the commandline
XCA only displays and optionally imports the item if a default
database is given. Afterwards XCA exits.
2023-10-05 23:12:40 +02:00
.github/workflows Github action: Back to Server 2019 for Qt5 2023-09-24 19:57:25 +02:00
cmake Add support for Qt6 2022-08-31 00:09:37 +02:00
doc Fix documentation typos 2023-09-30 11:24:18 +02:00
img Fix images and icons on windows 2022-09-07 20:01:25 +02:00
lang Translations: Fix warning in xca.ts and add languages to Info.plist 2023-09-30 11:24:18 +02:00
lib Close #384: Quick view of certificates without trying to open XCA 2023-10-05 23:12:40 +02:00
misc Translations: Fix warning in xca.ts and add languages to Info.plist 2023-09-30 11:24:18 +02:00
release Rename calculated VERSION.txt in BINARY_DIR 2023-10-01 20:47:26 +02:00
test improve autotest 2009-11-25 09:01:49 +01:00
ui Close #384: Quick view of certificates without trying to open XCA 2023-10-05 23:12:40 +02:00
widgets Close #384: Quick view of certificates without trying to open XCA 2023-10-05 23:12:40 +02:00
xcf Add first shot of installer dialog Image 2020-01-21 21:34:31 +01:00
.gitignore Switch from autotools/qmake to cmake 2021-06-01 17:48:37 +02:00
AUTHORS Justify list of authors 2015-08-11 07:31:51 +02:00
changelog Extend Release Notes 2023-09-30 20:51:25 +02:00
CMakeLists.txt Apple disable codesigning if no certificate exists 2023-10-01 23:23:57 +02:00
COPYRIGHT Update copyright years and adapt build scripts 2023-05-16 10:35:14 +02:00
Dockerfile Update Documentation and Dockerfile 2022-07-11 23:09:47 +02:00
INSTALL.docker Update Documentation and Dockerfile 2022-07-11 23:09:47 +02:00
INSTALL.mac macos CMake defaults for local arch, SDK and brew-Qt 2023-05-25 21:23:48 +02:00
local.h.in Make XCA AppStore compliant with -DAPPSTORE_COMPLIANT=ON 2023-09-30 11:24:18 +02:00
README.md Extend Release Notes 2023-09-30 20:51:25 +02:00
VERSION.txt Prepare XCA 2.5.0 2023-09-24 20:22:03 +02:00

XCA -- X Certificate and Key Management

CMake

Release Notes

  • The latest release is 2.5.0
  • Drop support for Qt4, old XCA < 2.0.0 databases and OpenSSL < 1.1.0
  • Drivers for SQL Servers must be installed separately since 2.5.0
  • Keys created in XCA databases < 2.0.0 must be converted with XCA < 2.5.0
  • Add Support for Qt6 and OpenSSL 3.x
  • Switch from autotools/qmake to cmake
  • Fix a lot of bugs (and probably added some new)
  • Add translations for Indonesian, Persian and Bulgarian
  • Please report issues on github https://github.com/chris2511/xca/issues

Changelog:

A detailled changelog can be found here:

https://hohnstaedt.de/xca/index.php/software/changelog

Documentation

This application is documented in the Help menu and here:

https://www.hohnstaedt.de/xca/index.php/documentation/manual

Build from Source

Dependencies

To build XCA you need:

Linux / Unix

  • Install the dependencies
    # Bookworm
    sudo apt install build-essential libssl-dev pkg-config qtbase5-dev qttools5-dev-tools libqt5sql5 libqt5help5 cmake qttools5-dev python3-sphinxcontrib.qthelp
    # Bullseye
    sudo apt install build-essential libssl-dev pkg-config qtbase5-dev qttools5-dev-tools libqt5sql5 libqt5help5 cmake qttools5-dev python3-sphinx
    
  • Clone: git clone https://github.com/chris2511/xca.git
  • 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 https://github.com/chris2511/xca.git
  • 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 .

Windows

  • Install the dependencies

    • Install Python for windows from the store or https://www.python.org/downloads/windows/
    • Install OpenSSL from here: https://slproweb.com/download/Win64OpenSSL-3_0_8.msi and verify the sha256 from https://github.com/slproweb/opensslhashes/blob/master/win32_openssl_hashes.json
    • 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 6.6.0 win64_mingw
      aqt install-tool windows desktop tools_mingw90 qt.tools.win64_mingw900
      aqt install-tool windows desktop tools_vcredist qt.tools.vcredist_64
      
    • If 7z is missing, install it from the store. 7-Zip File Manager (unofficial) or from 7-zip.org
    • Install the "vcredist\vcredist_64.exe"
    • Add cmake, MinGW, OpenSSL and Qt5 to your Path
      %USERPROFILE%\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\Scripts;
      %USERPROFILE%\AppData\Local\Microsoft\WindowsApps;
      %USERPROFILE%\Tools\CMake_64\bin;
      %USERPROFILE%\Tools\mingw_64\bin;
      %USERPROFILE%\5.15.2\mingw_64\bin;
      
    • Create CMAKE_PREFIX_PATH environment variable:
      %USERPROFILE%\6.6.0\mingw_64\lib\cmake
      
    • Install https://wixtoolset.org/releases/ if you want to create the MSI installer
  • Clone: git clone https://github.com/chris2511/xca.git

  • 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

SQL Remote Database Drivers

MySQL plugins are not shipped with QT anymore because of license issues.

Linux

  • Debian: libqt6sql6-psql libqt6sql6-mysql or libqt6sql6-odbc.
  • RPM: libqt6-database-plugin-pgsql libqt6-database-plugin-mysql libqt6-database-plugin-odbc They should pull in all necessary dependencies.

Apple macos

  • PostgreSQL: Install the https://postgresapp.com/
  • ODBC: It requires the /usr/local/opt/libiodbc/lib/libiodbc.2.dylib. When installing unixodbc via brew the library must be symlinked from /opt/homebrew/Cellar/libiodbc/3.52.16/lib/libiodbc.2.dylib
  • MariaDB: Probably via ODBC ?

Windows