xca icon indicating copy to clipboard operation
xca copied to clipboard

Default Templates Not Available in 2.8.x

Open jshand2015 opened this issue 1 year ago • 2 comments

I was trying to set up a root ca, a server cert and a client cert for a web server and noticed that the default templates that were available before this version i think, were not available. were they installed with xca and not loaded within xca?

jshand2015 avatar Nov 22 '24 20:11 jshand2015

they can be found/imported in /usr/local/share/xca/ or the installation folder, the fact that they are not detected by default is probably due to cmake/os version

cryptolok avatar Jan 10 '25 17:01 cryptolok

I encountered the same issue. This is with a package from Debian Trixie. The files are available /usr/share/xca. After importing they're available indeed.

Fortunately the templates are mentioned in the video guide https://hohnstaedt.de/xca, if that would not be there one does not seem them. BTW they're also mentioned on https://hohnstaedt.de/xca-doc/html/template.html

It could be that they're expected in the Directories that are mentioned in the About section (I read that somewhere). But that is user unfriendly and inconvenient, they should just show up without user intervention.

This is on linux.

The files are mentioned on the CMakefile.txt:

##### XCA Templates 
list(APPEND XCA_TEMPLATES CA.xca TLS_server.xca TLS_client.xca)
list(TRANSFORM XCA_TEMPLATES PREPEND ${S}/)
target_sources(${CMAKE_PROJECT_NAME} PRIVATE ${XCA_TEMPLATES})
list(APPEND APP_RESOURCES "${XCA_TEMPLATES}")


if (UNIX AND NOT APPLE)
  install(FILES ${TEXT_FILES} ${XCA_TEMPLATES}
        DESTINATION ${CMAKE_INSTALL_DATADIR}/${CMAKE_PROJECT_NAME}
  )

It does not say me anything though (only that they are part of the build. And that is correct because they get installed according the instructions in the CMakefile)

Can this be improved, please?

radoeka avatar Aug 10 '25 18:08 radoeka