SHA256
1
0
forked from pool/uucp
Dr. Werner Fink 2017-03-31 15:01:14 +00:00 committed by Git OBS Bridge
parent 8c12bf97ce
commit 6a984110be
2 changed files with 6 additions and 4 deletions

View File

@ -6,13 +6,14 @@ After=syslog.target network.target
# at your own risk:
#
# Creation of /etc/uucp/stunnel.pem used in /etc/uucp/suucp-server.conf(.example)
# > umask 022
# > umask 066
# > cp -p /etc/uucp/suucp-server.conf.example /etc/uucp/suucp-server.conf
# > openssl req -new -x509 -days 3650 -utf8 -nodes -keyout /etc/uucp/stunnel.pem -out /etc/uucp/stunnel.pem
# > dd if=/dev/urandom count=4 | openssl dhparam -rand - 1024 >> /etc/uucp/stunnel.pem
#
# Fingerprint
# Fingerprint and hash
# > openssl x509 -text -subject -dates -fingerprint -noout -in /etc/uucp/stunnel.pem
# > ln -sf stunnel.pem /etc/uucp/$(openssl x509 -hash -noout -in /etc/uucp/stunnel.pem).0
#
ConditionPathExists=/etc/uucp/suucp-server.conf

View File

@ -20,13 +20,14 @@ service uucp
# at your own risk:
#
# Creation of /etc/uucp/stunnel.pem used in /etc/uucp/suucp-server.conf(.example)
# > umask 022
# > umask 066
# > cp -p /etc/uucp/suucp-server.conf.example /etc/uucp/suucp-server.conf
# > openssl req -new -x509 -days 3650 -utf8 -nodes -keyout /etc/uucp/stunnel.pem -out /etc/uucp/stunnel.pem
# > dd if=/dev/urandom count=4 | openssl dhparam -rand - 1024 >> /etc/uucp/stunnel.pem
#
# Fingerprint
# Fingerprint and hash
# > openssl x509 -text -subject -dates -fingerprint -noout -in /etc/uucp/stunnel.pem
# > ln -sf stunnel.pem /etc/uucp/$(openssl x509 -hash -noout -in /etc/uucp/stunnel.pem).0
#
service suucp
{