Create CA file
$c = New-SelfSignedCertificate -DnsName SelfSignedCA -CertStoreLocation Cert:\CurrentUser\My -NotAfter (Get-Date).AddYears(10)check certificate fingerprint
$cCreate CA file
$c = New-SelfSignedCertificate -DnsName SelfSignedCA -CertStoreLocation Cert:\CurrentUser\My -NotAfter (Get-Date).AddYears(10)check certificate fingerprint
$c| <?xml version="1.0" encoding="UTF-8"?> | |
| <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
| <plist version="1.0"> | |
| <dict> | |
| <key>PayloadContent</key> | |
| <array> | |
| <!-- Home: Manual --> | |
| <dict> | |
| <key>UserDefinedName</key> |
| # Ping 6 times to some address (google free DNS here) and if no response try to get new IP address | |
| :if ([/ping 8.8.8.8 interface=ethernet-gateway count=6] = 0) do={/ip dhcp-client release numbers=0} |
| # add-l2tp.ps1 | |
| param($name, $server, $psk) | |
| Add-VpnConnection -Name $name -ServerAddress $server -TunnelType "L2tp" -AuthenticationMethod Chap,MSChapv2,Pap -L2tpPsk $psk |
| <?php | |
| public function sendIcs() | |
| { | |
| $icsString = $this->Calendars->generateIcs(); | |
| $response = $this->response; | |
| // Inject string content into response body | |
| $response = $response->withStringBody($icsString); |
| deploy:live: | |
| image: 1drop/docker:git | |
| stage: deploy | |
| when: manual | |
| environment: | |
| name: production | |
| url: https://www.somecustomer.de | |
| before_script: | |
| - eval $(ssh-agent -s) | |
| - ssh-add <(echo "$SSH_PRIVATE_KEY") |
| { | |
| "background": "#2D2A2E", | |
| "black": "#1A181A", | |
| "blue": "#1080D0", | |
| "brightBlack": "#707070", | |
| "brightBlue": "#22D5FF", | |
| "brightCyan": "#7ACCD7", | |
| "brightGreen": "#A4CD7C", | |
| "brightPurple": "#AB9DF2", | |
| "brightRed": "#F882A5", |
This is an OpenPGP proof that connects my OpenPGP key to this Github account. For details check out https://docs.keyoxide.org/advanced/openpgp-proofs/
[Verifying my OpenPGP key: openpgp4fpr:E4E133AD32C53C62CBB9A0E906DB2CB984185A93]
| add-type @" | |
| using System.Net; | |
| using System.Security.Cryptography.X509Certificates; | |
| public class TrustAllCertsPolicy : ICertificatePolicy { | |
| public bool CheckValidationResult( | |
| ServicePoint srvPoint, X509Certificate certificate, | |
| WebRequest request, int certificateProblem) { | |
| return true; | |
| } | |
| } |