I am planning to configure my tomcat to support SNI, the same IP configured serves with a dual-domain with different certificates.
I would like to know how to get both the domain during Startup, for the single domain we are getting this using InetAddress.getLocalHost()
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…