Skip to content

Building SSCEP

Endi S. Dewata edited this page Jul 21, 2021 · 17 revisions

Building SSCEP Binaries

To build SSCEP binaries:

$ dnf install -y autoconf automake libtool openssl-devel
$ git clone https://github.com/certnanny/sscep.git
$ cd sscep
$ git checkout v0.9.0
$ ./bootstrap.sh
$ ./configure
$ make
$ make install

The sscep executable will be installed in /usr/local/bin.

The mkrequest will not be installed, but it can be used directly from the source directory:

$ ./mkrequest

Building SSCEP RPM Packages

To build SSCEP RPM packages:

$ dnf install -y autoconf automake libtool openssl-devel rpm-build
$ mkdir -p ~/rpmbuild/SOURCES
$ curl -JLOSs https://github.com/certnanny/sscep/archive/v0.9.0/tags/sscep-0.9.0.tar.gz
$ mv sscep-0.9.0.tar.gz ~/rpmbuild/SOURCES
$ curl -JLOSs https://raw.githubusercontent.com/certnanny/sscep/v0.9.0/scripts/sscep.spec
$ sed -i '/%build/ a ./bootstrap.sh' sscep.spec
$ rpmbuild -ba sscep.spec
$ dnf localinstall -y `find ~/rpmbuild/RPMS -name *.rpm`

The sscep executable will be installed in /usr/bin.

The mkrequest will not be included, so it needs to be installed separately:

$ curl -JLOSs https://raw.githubusercontent.com/certnanny/sscep/v0.9.0/mkrequest
$ chmod +x mkrequest
$ ./mkrequest

See Also

Clone this wiki locally