Skip to content

ljluestc/xca

This branch is 409 commits behind chris2511/xca:main.

Folders and files

NameName
Last commit message
Last commit date
May 25, 2023
Aug 30, 2022
May 23, 2023
Sep 7, 2022
May 26, 2023
May 25, 2023
May 21, 2023
May 25, 2023
Nov 25, 2009
Oct 6, 2022
May 25, 2023
Jan 21, 2020
Jun 1, 2021
Aug 11, 2015
May 25, 2023
May 16, 2023
Jul 11, 2022
Jul 11, 2022
May 25, 2023
May 25, 2023
Nov 20, 2021
May 16, 2023
Jun 1, 2021

Repository files navigation

XCA -- X Certificate and Key Management

CMake

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 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
    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 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 5.15.2 win64_mingw81
      aqt install-tool windows desktop tools_cmake qt.tools.cmake.win64
      aqt install-tool windows desktop tools_mingw qt.tools.win64\_mingw810
      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
    • 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\mingw810_64\bin;
      %USERPROFILE%\5.15.2\mingw81_64\bin;
      
    • Create Qt5_DIR environment variable:
      %USERPROFILE%\5.15.2\mingw81_64\lib\cmake
      
    • Install https://wixtoolset.org/releases/ if you want to create the MSI installer
    • Optional for the remote database connections:
  • 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

About

X Certificate and Key management

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 90.3%
  • C 5.6%
  • CMake 2.4%
  • Shell 0.7%
  • Perl 0.3%
  • Rich Text Format 0.3%
  • Other 0.4%