This file contains hidden or 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
{ | |
"$help": "https://aka.ms/terminal-documentation", | |
"$schema": "https://aka.ms/terminal-profiles-schema", | |
"actions": [], | |
"compatibility.allowHeadless": true, | |
"copyFormatting": "none", | |
"copyOnSelect": false, | |
"defaultProfile": "{574e775e-4f2a-5b96-ac1e-a2962a402336}", | |
"keybindings": | |
[ |
This file contains hidden or 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
add ssl cipher SSL_Labs_Cipher_Group_Q4_2021 | |
bind ssl cipher SSL_Labs_Cipher_Group_Q4_2021 -cipherName TLS1.3-AES256-GCM-SHA384 | |
bind ssl cipher SSL_Labs_Cipher_Group_Q4_2021 -cipherName TLS1.3-AES128-GCM-SHA256 | |
bind ssl cipher SSL_Labs_Cipher_Group_Q4_2021 -cipherName TLS1.3-CHACHA20-POLY1305-SHA256 | |
bind ssl cipher SSL_Labs_Cipher_Group_Q4_2021 -cipherName TLS1.2-ECDHE-ECDSA-AES256-GCM-SHA384 | |
bind ssl cipher SSL_Labs_Cipher_Group_Q4_2021 -cipherName TLS1.2-ECDHE-ECDSA-AES128-GCM-SHA256 | |
bind ssl cipher SSL_Labs_Cipher_Group_Q4_2021 -cipherName TLS1.2-ECDHE-ECDSA-AES256-SHA384 | |
bind ssl cipher SSL_Labs_Cipher_Group_Q4_2021 -cipherName TLS1.2-ECDHE-RSA-AES256-GCM-SHA384 |
This file contains hidden or 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
! Font options | |
! Resolution for Xft in dots per inch (e.g. 96) | |
Xft.dpi: 96 | |
Xft.antialias: true | |
Xft.hinting: true | |
Xft.rgba: rgb | |
Xft.autohint: true | |
Xft.hintstyle: hintfull | |
Xft.lcdfilter: lcdfilter |
This file contains hidden or 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
Question: How do I move a certificate from IIS / PFX (.p12 file) to a JKS (Java KeyStore)? | |
Answer: Run the following command: | |
keytool -importkeystore -srckeystore pkcs12FileName.p12 -srcstoretype pkcs12 -destkeystore jksFileName.jks -deststoretype jks |
This file contains hidden or 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
# Get appid for Citrix Broker Service in | |
HKEY_CLASSES_ROOT\Installer\Products | |
# Get certificate thumbprint | |
# Use netsh to configure TLS | |
netsh http add sslcert ipport=0.0.0.0:443 certhash=### appid={########-####-####-####-############} |
This file contains hidden or 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
[req] | |
distinguished_name = req_distinguished_name | |
req_extensions = v3_req | |
prompt = no | |
[req_distinguished_name] | |
C = US | |
ST = VA | |
L = SomeCity | |
O = MyCompany |
This file contains hidden or 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
add rewrite action rwa_insert_XFrame_header insert_http_header X-Frame-Options "\"SAMEORIGIN\"" | |
add rewrite action rwa_insert_XSS_header insert_http_header X-Xss-Protection "\"1; mode=block\"" | |
add rewrite action rwa_insert_XContent_header insert_http_header X-Content-Type-Options "\"nosniff\"" | |
add rewrite action rwa_insert_CSP_header insert_http_header Content-Security-Policy "\"frame-ancestors \'self\'\"" | |
add rewrite action rwa_insert_REF_header insert_http_header Referrer-Policy "\"strict-origin-when-cross-origin\"" | |
add rewrite action rwa_remove_XPOWER_header delete_http_header X-Powered-By | |
add rewrite action rwa_remove_SERVER_header delete_http_header Server | |
# only needed on NetScaler < 12.0 | |
# on NetScaler 12.0+ you can use SSL settings or profiles to enable HSTS |