Renew the Code Signing Certificate on Os X Server 10.8.x

sudo /Applications/Server.app/Contents/ServerRoot/usr/sbin/certadmin --recreate-CA-signed-certificate "`hostname` Code Signing Certificate" "IntermediateCA_`hostname | tr 'a-z' 'A-Z'`_1" `security find-certificate -c "\`hostname\` Code Signing Certificate" | grep snbr | cut -d "x" -f 2 | cut -d " " -f 1 | tr 'A-Z' 'a-z' | sed 's/^0*//'`

Leave a Reply

Your email address will not be published. Required fields are marked *