Package spring.ssl

Class HttpServer

java.lang.Object
spring.ssl.HttpServer

@Component public class HttpServer extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.springframework.boot.web.servlet.server.ServletWebServerFactory
    servletContainer(int httpPort)
    $ keytool -genkeypair -alias jsql-injection -keyalg RSA -keysize 2048 -storetype PKCS12 -keystore jsql-injection.p12 -validity 3650 Enter keystore password: testtest Re-enter new password: testtest What is your first and last name? [Unknown]: What is the name of your organizational unit? [Unknown]: What is the name of your organization? [Unknown]: What is the name of your City or Locality? [Unknown]: What is the name of your State or Province? [Unknown]: What is the two-letter country code for this unit? [Unknown]: Is CN=Unknown, OU=Unknown, O=Unknown, L=Unknown, ST=Unknown, C=Unknown correct? [no]: yes

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • HttpServer

      public HttpServer()
  • Method Details

    • servletContainer

      @Bean public org.springframework.boot.web.servlet.server.ServletWebServerFactory servletContainer(@Value("${server.http.port}") int httpPort)
      $ keytool -genkeypair -alias jsql-injection -keyalg RSA -keysize 2048 -storetype PKCS12 -keystore jsql-injection.p12 -validity 3650 Enter keystore password: testtest Re-enter new password: testtest What is your first and last name? [Unknown]: What is the name of your organizational unit? [Unknown]: What is the name of your organization? [Unknown]: What is the name of your City or Locality? [Unknown]: What is the name of your State or Province? [Unknown]: What is the two-letter country code for this unit? [Unknown]: Is CN=Unknown, OU=Unknown, O=Unknown, L=Unknown, ST=Unknown, C=Unknown correct? [no]: yes