sudo apt install ca-certificates curl gnupg lsb-release
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg
echo \
"deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/ubuntu \
$(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# List the content of cacerts | |
$ echo 'changeit' | keytool -list -v -keystore $(find $JAVA_HOME -name cacerts) | grep 'Owner:' | |
# List the content of a Keystore | |
$ keytool -list -v -keystore <keystore.jks> | |
# View Certificate Information | |
keytool -printcert -file <domain.crt> | |
# Generate Keys in New/Existing Keystore |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Extracting the CA Certificate using OpenSSL | |
openssl s_client -connect <your.dsm.name.com:8443> –showcerts | |
# Export certificate to .der format | |
openssl x509 -outform der -in <xyz.pem> -out <xyz.der> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// regex for sudanese mobile numbers | |
const mobileRegex = /^(?:\+249|00249|249|0)?(\d{9})$; |
Install Remote Package Installer to your ps4.
npx serve