cd /etc/letsencrypt/live/exampledomain.comlsopenssl pkcs12 -export -out bundle.pfx -inkey privkey.pem -in cert.pem lsmv bundle.pfx /opt/tomcat/bundle.pfx ll /opt/tomcat/bundle.pfx ll /opt/tomcat/cd /opt/tomcat/confnano server.xml<Connector protocol=”org.apache.coyote.http11.Http11NioProtocol” port=”8443″ maxThreads=”2048″ scheme=”https” secure=”true” acceptCount=”2048″ SSLEnabled=”true” clientAuth=”false” keystoreType=”PKCS12″ keystoreFile=”/opt/tomcat/bundle.pfx” keystorePass=”YOURPASSWORD” sslProtocol=”TLS” />chown tomcat:tomcat /opt/tomcat/bundle.pfx systemctl restart tomcat
Maven ile manifest.mf ayarları
<build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>2.3.2</version> <configuration> <source>1.7</source> <target>1.7</target> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-jar-plugin</artifactId> </plugin> <plugin> <artifactId>maven-assembly-plugin</artifactId> <configuration> <archive> <manifest> <addClasspath>true</addClasspath> <classpathPrefix>lib/</classpathPrefix> <mainClass>my.main.class.Main</mainClass> </manifest> </archive> <descriptorRefs> <descriptorRef>jar-with-dependencies</descriptorRef> </descriptorRefs> </configuration> <executions> <execution> <id>make-assembly</id> <!– this is used for inheritance merges –>…
Spring MVC 4 ile örnek bir proje yapalım
Aslında şu sıralar çok yoğunum öyle böyle değil. Sıkıntılar dertler tepemde kara bulutlar gibi dolaşmaktan vazgeçmiyorlar ama yine de benim gibi bir manyağı durdurmaya güçleri yetmez. Hayat her zaman insanın yüzüne gülmez bazen okkalı bir tokat ta vurur ama öldürmeyen…
Compile And Use Vaadin 6 Addons (2)
Now lets create a new Maven project. And RightClick -> Properties -> Project Facets -> “Convert to faceted form” -> Select “Dynamic Web Module” and OK. Now Eclipse adds the WebContent folder. There are META-INF and WEB-INF folders now. We…
Compile And Use Vaadin 6 Addons (1)
I’m working on an admin application and using Vaadin 6. I started this project one year ago and still working. I won’t say the project name becouse this is secret of my company. But I will tell a problem this…