enricorossi.org

Enrico Rossi


Articles tagged with howto

View p7m file with openssl

Tags: encrypt, howto, openssl, p7m, sign, smime

How to view the content of a .p7m file

Normally a .p7m file is what in openssl terms is a DER file 1 (note: it work also with cms command).

openssl smime -verify -in smime.p7m -inform der -noverify -signer cert.pem -out textdata

where:

  • -verify to tell openssl that …
Read more...

Rsyslog with remote log and rotation by date

Tags: debian, howto, linux, log, rsyslog

How to configure a debian (Wheezy) rsyslog daemon to receive logs from remote system, store them in a separate directory/file and the daily rotate these files with date-like extension.

What we want:

/var/log/
 ├── alternatives.log
 ├── alternatives.log.1
 .
 .
 .
 ├── remote
    ├── remote1_host_IP
       ├── remote1_host.log
       ├── remote1_host.log-20141202.gz
       ├── remote1_host.log …
Read more...
← Previous Page 3 / 9 Next →