Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Developing and Hosting a Short Lived Website for a Free
Rating: 4.7 out of 5(23 ratings)
2,844 students

Developing and Hosting a Short Lived Website for a Free

Installing SSL certificate for Spring Boot web application
Created byParth Shah
Last updated 7/2021
English

What you'll learn

  • Hosting and deplying spring boot application on AWS EC2
  • Creating self signed and Zero SSL certificate
  • free domain registration
  • Analyzing network traffic using Wireshark

Course content

1 section10 lectures1h 1m total length
  • Introduction of the Course1:06
  • Installing and Running Spring Boot Application2:48
  • Creating Application Package and Starting EC2 Inst.7:53

    Use following command to install jdk16 on linux machine:

    wget --no-check-certificate --no-cookies --header "Cookie: oraclelicense=accept-securebackup-cookie" https://download.oracle.com/otn-pub/java/jdk/16.0.1+9/7147401fd7354114ac51ef3e1328291f/jdk-16.0.1_linux-x64_bin.rpm

  • Deploying Package on EC2 Instance4:54
  • Analyzing Web App Traffic through Wireshark3:50
  • Create Self-signed Certificate and configure it in application9:38

    Use following command to create self-signed certificate:

    keytool -genkeypair -alias tempSLLCert -keyalg RSA -keysize 2048 -storetype PKCS12 -keystore my-ssl-cert.p12 -validity 3650

  • Adding SSL Parameters in the App6:05

    Add following parameters in the application.properties file:

    server.port=443

    security.require-ssl=true

    server.ssl.key-store-password=Parth@123

    server.ssl.key-store=classpath:my-ssl-key.p12

    server.ssl.key-alias=tempSSLCert

    server.ssl.key-store-type=PKCS12

  • Analyzing Encrypted Traffic through Wireshark5:52
  • Create a Free Domain using Freenom5:30
  • Create Free Certificate using ZeroSSL13:32

    Use following command to concer .crt to .p12:

    openssl pkcs12 -export -in certificate.crt -inkey private.key -certfile ca_bundle.crt -out keystore.p12

Requirements

  • Basic understating of Programming

Description

Nowadays so many tools and technologies are available which can be used for free for a limited amount of time. Sometimes it becomes a requirement to create a short-lived secure web application for constrained budget events or something else. So this is the right course that has the above-mentioned requirement. In this course, learning will learn how to clone the spring boot project into the Eclipse IDE. The project is already available on the Git repository. The spring boot application will be deployed to the AWS EC2 instance to make it publicly available. You require to have your own AWS credentials. Traffic capture can be done using a utility like Wireshark; hence the publicly available web application needs secure communication, hence self-signed certificate creation is taught. To create a self-signed certificate ketol utility of JDK is used. The deployed application is accessible through an IP address which is no the proper way to make the application public. Freenom is used to get free domain registration. The self-signed certificate is not authorized hence free SSL certificate will be created on ZeroSSL. OpenSSL is used to convert the certificate generated by ZeroSSL into the PKCS format. The certificate generated from ZeroSSL is authorized and can work with the spring boot application.

Who this course is for:

  • Beginner computer science