Wednesday, December 21, 2016
NetSuite tokenPassport Generator
If you need to test the NetSuite SOAP API (SuiteCloud) with tools like SOAPUI you might need a quick way to generate the tokenPassport node:
Friday, December 09, 2016
The lean http to https redirection in IIS
The leanest way to run a secure website from IIS is to serve just one application. If you can live with that, then redirecting HTTP to HTTPS traffic should not be as painful:
Simplicity rules.
- Add IIS Redirect Module: Server Manager | Roles Summary | Add Roles | Web Server - Common HTTP Features - HTTP Redirection
- Redirect http to https: IIS Manager | Select server node | Bindings | Remove port 80 binding | Default Web Site node | Bindings | Set just port 80 binding | HTTP Redirect | Redirect to a specific https:// destination | Status code =Found (302)
Simplicity rules.
Wednesday, November 23, 2016
Monday, November 21, 2016
What is my IP from *nix
Just for my own reminder:
dig +short myip.opendns.com @resolver1.opendns.com
Friday, October 21, 2016
Test your SSL certificate before deploying into Apache
Put key, cert and CA in a directory. Confirm the below outputs no errors and ends in ‘ACCEPT’:
site=sample.com
cacert=GeoTrust_CA_Bundle.crt
openssl s_server -accept 9090 -www \
-cert ${site}.crt -key ${site}.key \
-CAfile $cacert
Change User Agent in Chrome 53
Saturday, August 27, 2016
Stop Apache from rendering icons README file
If you try to access /icons/README or /icons/README.html from your domain and you get a page with content, then you know apache is running on the server side and exposing some default content. How bad is that? Probably not big deal but its removal is mandatory when it comes to hardening apache for most situations. Better not to give the public any chance to access a resource that should not be exposed. You can correct this with s simple POB recipe:
Subscribe to:
Posts (Atom)
