Installing CA Certificates into NetBSD

Submitted by Fekete Zoltán on Mon, 01/23/2017 - 08:00

1. Download the CA certificate in PEM format

If  it was not available in PEM, then determine which format it is (here: DER), then convert it:

$ openssl x509 -in ca-cerificate-file.crt -inform DER -out ca-cerificate-file.pem -outform PEM

2. Check the fingerprint

$ openssl x509 -noout -fingerprint -in ca-certificate-file

3. Copy the CA cert frile into /etc/openssl/certs folder 

Then cd there.

LibreOffice does not build because librdf is too old
LibreOffice needs redland >=1.0.16, which provides librdf. Certainly you have installed 1.0.17 as a package. However the build system complains as: "librdf too old Need >=1.0.16" So, what?
Fekete Zoltán Sat, 01/21/2017 - 20:08
Solve libxml2 build problem

When you experience problems building libxml2 or any other ports depending on it (e.g. libreoffice), see the error message of the compiler. If it contains undefined reference 'lzma_auto_compress', then simply remove lzma and lzmalib packages from the system and continue the build process.

Reason: The base system contains lzma library, and the uncompatible package version supresses if installed.


Fekete Zoltán Sat, 01/21/2017 - 19:24