Page MenuHomeFreeBSD

security/ca_root_nss: handle bundle links consistently for ETCSYMLINK
Needs RevisionPublic

Authored by franco_opnsense.org on Dec 4 2024, 12:39 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Jan 21, 8:42 PM
Unknown Object (File)
Thu, Dec 26, 12:48 PM
Unknown Object (File)
Thu, Dec 26, 12:06 PM
Unknown Object (File)
Thu, Dec 26, 5:05 AM
Unknown Object (File)
Wed, Dec 25, 7:37 AM
Unknown Object (File)
Dec 18 2024, 12:49 PM
Unknown Object (File)
Dec 9 2024, 1:13 PM
Subscribers

Details

Reviewers
des
Group Reviewers
portmgr
Ports Committers
ports secteam
Summary

/usr/local/openssl/cert.pem is the default location for security/openssl
so it should be handled just like /etc/ssl/cert.pem base OpenSSL. To
avoid having samples and copies with differing contents point both files
to the actual /usr/local/etc/ssl/cert.pem created by the sample. If users
have set their own content that is likely intended and should be enforced
across all three files.

PR: 283161

Diff Detail

Repository
R11 FreeBSD ports repository
Lint
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 61233
Build 58117: arc lint + arc unit

Event Timeline

franco_opnsense.org created this revision.
des requested changes to this revision.Dec 20 2024, 5:02 PM
des added a subscriber: des.
des added inline comments.
security/ca_root_nss/Makefile
53

This doesn't look right...

This revision now requires changes to proceed.Dec 20 2024, 5:02 PM
security/ca_root_nss/Makefile
53

Can you be specific.

# diff -u /usr/local/etc/ssl/cert.pem{,.sample}
# ls -lah /etc/ssl/cert.pem
lrwxr-xr-x  1 root wheel   32B Dec 20 19:01 /etc/ssl/cert.pem -> ../../usr/local/etc/ssl/cert.pem
# ls -lah /usr/local/openssl/cert.pem
lrwxr-xr-x  1 root wheel   19B Dec 20 19:01 /usr/local/openssl/cert.pem -> ../etc/ssl/cert.pem
# ls -lah /usr/local/etc/ssl/cert.pem
-rw-r--r--  1 root wheel  774K Dec 20 19:01 /usr/local/etc/ssl/cert.pem
# md5 /etc/ssl/cert.pem
MD5 (/etc/ssl/cert.pem) = 5114bb207368fb4f8afb93275db6bf37
# md5 /usr/local/etc/ssl/cert.pem
MD5 (/usr/local/etc/ssl/cert.pem) = 5114bb207368fb4f8afb93275db6bf37
# md5 /usr/local/etc/ssl/cert.pem.sample 
MD5 (/usr/local/etc/ssl/cert.pem.sample) = 5114bb207368fb4f8afb93275db6bf37
# md5 /usr/local/openssl/cert.pem
MD5 (/usr/local/openssl/cert.pem) = 5114bb207368fb4f8afb93275db6bf37

@des did you find the time to make a technical assessment? thanks!