Run guzzle UI and API applications on SSL - ja-guzzle/guzzle_docs GitHub Wiki

  • Add following configuration in $GUZZLE_HOME/api/application.yml
server:
  ssl:
    key-store-type: PKCS12
    key-store: <path-to-keystore-file>
    key-store-password: <keystore-password>
    key-alias: <alias>
  • Start guzzle api application
java -jar api-0.0.1-SNAPSHOT.jar
  • Run following command to install http server to serve guzzle web application:
npm install -g spa-http-server
  • Run following command in $GUZZLE_HOME/web directory to start http server:
http-server --push-state --ssl --cert <path-to-certificate-file> --key <path-to-private-key-file> -p 8082
⚠️ **GitHub.com Fallback** ⚠️