Changing Protocols

By default, Genesis II is set to use HTTPS/SSL.
It is quick and easy to re-configure Genesis II to use HTTP. Mainly, the server-config.xml file needs to be modified. If you are planning on bootstrapping, the bootstrap.xml file will also need to be modified.

Changes to the Config File

Open the Configuaration/server-config.xml file.

  • Find the SSL properties section and comment it out.

<!-- SSL properties section. Presently contains properties

   that identify the certificate and keypair that the container should use for 
   incoming SSL connections.  Comment out this section to turn off SSL/HTTPS. -->

<!--

 <genii:ssl-properties>
  <mconf:property 
     name="edu.virginia.vcgr.genii.container.security.ssl.key-store" 
     value="security/keys.pfx"/>
  <mconf:property 
    name="edu.virginia.vcgr.genii.container.security.ssl.key-store-type" 
    value="PKCS12"/>
  <mconf:property 
    name="edu.virginia.vcgr.genii.container.security.ssl.key-password"   
    value="keys"/>
  <mconf:property 
    name="edu.virginia.vcgr.genii.container.security.ssl.key-store-password" 
    value="keys"/>
 </genii:ssl-properties> 
-->
  • Under genii:authorization, change the value of the mconf:property for enabling authorization to false:
    <mconf:property name="genii.security.authz.authz-enabled" value="false"/>

Changes to the Bootstrap Script

Open the bootstrap.xml file. Search for http. You will need to change the following three instances of https to http:

  • Under <geniix:create-rns-root>:
    <gsh:param>--protocol=http</gsh:param>
  • Under <geniix:ln>:
    <gsh:param>--service-url:http:..