Categories
- Answers (12)
- DragonFlyBSD (7)
- FreeBSD (10)
- NetBSD (14)
- Networking (7)
- News (1)
- OpenBSD (8)
- Papers (8)
- pkgsrc (1)
- Programming (1)
- Security (9)
- System Administration (10)
Category Archives: Security
Configuring CGD with two-factor authentication on NetBSD
This was tested on NetBSD 3.99.16, however the instructions should be applicable to any version with cgd support Note:In my example, we will be using a vnode disk, the vnd specific steps may be omitted if not applicable. First, you … Continue reading
Posted in NetBSD, Papers, Security
Leave a comment
Q: Why do I get “ERROR: failed to get private key” when trying to establish an IPSec tunnel with racoon (ipsec-tools)?
A: If you are using x509 certificates to authenticate your end-points, it is likely that your private keys are encrypted (assume the private key is named maguro.key) # less maguro.key —–BEGIN RSA PRIVATE KEY—– Proc-Type: 4,ENCRYPTED DEK-Info: DES-EDE3-CBC,94BC2753E921722E BjPpMYZouxEUBSdEtuRrnbcdGaTlmfuIh8RNxuijBU6ZawY1I5hosULrFKzrLzZt FJ9kg9Zo60o7U0FGzI1LTw4UalQnnkgH/quRZ4pJeM20Hjc5m4mj+YDtXAgNXYrw … Continue reading
Q: How do I use OpenSSL to encrypt files?
A: This depends on if you want symmetric or asymmetric encryption. For symmetic encryption, you can use the following… To encrypt: > openssl aes-256-cbc -salt -a -e -in plaintext.txt -out encrypted.txt To decrypt this, you can use the following. > … Continue reading
Posted in Answers, DragonFlyBSD, FreeBSD, NetBSD, OpenBSD, Security
3 Comments
