Fix implicit 'insecure' if generate_certs is set

Changing the selected option in a checkbox with $('#foo').val('true');
doesn't seem to work (yet, maybe needs newer jQuery). Do it the old way
instead.
Merge pull request #917 from saschpe/release/roxy/master-jquery-select

Fix implicit 'insecure' if generate_certs is set
Merge pull request #927 from crowbar/release/roxy/master

Sync with roxy