forked from certnanny/sscep
-
Notifications
You must be signed in to change notification settings - Fork 1
Building SSCEP
Endi S. Dewata edited this page Nov 3, 2021
·
4 revisions
To build upstream SSCEP binaries:
$ git clone -b v0.9.0 https://github.com/certnanny/sscep.git $ cd sscep $ dnf install -y autoconf automake libtool openssl-devel $ ./bootstrap.sh $ ./configure $ make $ make install $ cp mkrequest /usr/local/bin
The sscep
and mkrequest
executables will be installed in /usr/local/bin
.
To build upstream 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
To build downstream SSCEP RPM packages:
$ git clone -b v0.10.0-pki https://github.com/dogtagpki/sscep.git $ cd sscep $ mkdir -p ~/rpmbuild/SOURCES $ git archive --format=tar.gz --prefix sscep-0.10.0/ -o ~/rpmbuild/SOURCES/sscep-0.10.0.tar.gz v0.10.0-pki $ dnf builddep scripts/sscep.spec $ rpmbuild -ba scripts/sscep.spec $ dnf localinstall -y `find ~/rpmbuild/RPMS -name *.rpm`
The sscep
and mkrequest
executables will be installed in /usr/bin
.