%PDF- %PDF-
Server IP : 79.170.40.229 / Your IP : 18.222.19.77 Web Server : Apache System : Linux web232.extendcp.co.uk 4.18.0-513.24.1.el8_9.x86_64 #1 SMP Mon Apr 8 11:23:13 EDT 2024 x86_64 User : 1stforcarhirealicante.com ( 296923) PHP Version : 5.6.40 Disable Function : NONE MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /proc/thread-self/root/usr/libexec/ |
Upload File : |
#!/bin/bash . /etc/sysconfig/network # Source exim configureation. if [ -f /etc/sysconfig/exim ] ; then . /etc/sysconfig/exim fi USER=${USER:=exim} GROUP=${GROUP:=exim} gen_cert() { if [ ! -f /etc/pki/tls/certs/exim.pem ] ; then umask 077 FQDN=`hostname` if [ "x${FQDN}" = "x" ]; then FQDN=localhost.localdomain fi echo -n $"Generating exim certificate: " cat << EOF | openssl req -new -x509 -days 365 -nodes \ -out /etc/pki/tls/certs/exim.pem \ -keyout /etc/pki/tls/private/exim.pem &>/dev/null -- SomeState SomeCity SomeOrganization SomeOrganizationalUnit ${FQDN} root@${FQDN} EOF if [ $? -eq 0 ]; then echo success chown $USER:$GROUP /etc/pki/tls/{private,certs}/exim.pem chmod 600 /etc/pki/tls/{private,certs}/exim.pem else echo failure fi echo fi } gen_cert exit 0