For excessively paranoid client authentication.
Organization & Common Name: Some human identifier for this server CA.
openssl genrsa -des3 -out ca.key 4096
openssl req -new -x509 -days 365 -key ca.key -out ca.crt
| $("#media_items").html5Uploader({ | |
| url: "<%= assets_path %>", | |
| method: 'POST', | |
| params: { | |
| authenticity_token: "<%= form_authenticity_token %>" | |
| } | |
| }); |
| class HTML5Uploader | |
| constructor:(obj, options) -> | |
| @method = options['method'] ||= "POST" | |
| @url = options['url'] ||= "/" | |
| @params = options['params'] | |
| @obj = $(obj) | |
| @files = [] | |
| @alerted = false |
For excessively paranoid client authentication.
Organization & Common Name: Some human identifier for this server CA.
openssl genrsa -des3 -out ca.key 4096
openssl req -new -x509 -days 365 -key ca.key -out ca.crt