...
- ActiveMQ
- Installera Mule version 3.3.1. Rekommendationer, minnesinställningar, runtimeberoenden, loggning mm för SKLTP finns på följande instruktion
- SKLTP TAK, se installationsanvisning. Konfiguration enligt installationsanvisning förutsätts
Certifikat installerat, se installationsmanual
Installation av VP senaste officiella versionen, VP 2.2.2
1. Ladda ner applikationen
VP 2.2.1 och senare laddas ner från Maven
Ladda ner vp-services-[version].zip (vp-services-2.2.12.zip) från nedanstående adress
Kodblock |
---|
wget http://central.maven.org/maven2/se/skltp/vp/vp-services/2.2.12/vp-services-2.2.12.zip |
2. Konfigurera VP applikation
...
- Säkerställ att vp-config-override.properties och vp-security-override.properties finns under /usr/local/mule-standalone-3.3.1/conf/ för att kunna överlagra default parametrar
Ladda ner en komplett konfigurationsfil som innehåller samtliga parametrar
Kodblock wget http://skltp.googlecode.com/svn/tp/vp/tags/vp-parent-2.2.12/vp-services/src/main/resources/vp-config.properties mv vp-config.properties /usr/local/mule-standalone-3.3.1/conf/vp-config-override.properties
Kodblock wget http://skltp.googlecode.com/svn/tp/vp/tags/vp-parent-2.2.12/vp-services/src/main/resources/vp-security.properties mv vp-security.properties /usr/local/mule-standalone-3.3.1/conf/vp-security-override.properties
- Uppdatera de parametrar som skiljer sig från default. Läs om parametrar att överlagra på SKLTP VP - Konfiguration.
- Säkerställ att fil med hsa information finns under /usr/local/mule-standalone-3.3.1/conf/
Ladda ner HSA fil med endast SE nod som kompletterar den riktiga HSA filen.
Kodblock wget http://skl-tp.atlassian.net/wiki/download/attachments/5308496/hsacachecomplementary.xml mv hsacachecomplementary.xml /usr/local/mule-standalone-3.3.1/conf/hsacachecomplementary.xml
Uppdatera i parametern HSA_FILES vp-config-override.properties för att lägga till hsacachecomplementary.xml och läsa in SE noden
Kodblock vi /usr/local/mule-standalone-3.3.1/conf/vp-config-override.properties HSA_FILES=/usr/local/mule-standalone-3.3.1/conf/hsacachecomplementary.xml
- Finns det behov av att hämta en fil från HSA med ett komplett organisationsträd, läs följande instruktion.
- Säkerställ att korrekta certifikatsfiler finns under /usr/local/mule-standalone-3.3.1/certs/ och att vp-security-override.properties pekar på certifikatsfilerna.
Saknas /usr/local/mule-standalone-3.3.1/certs/, skapa den och lägg era certifikatsfiler i katalogen.
Kodblock mkdir /usr/local/mule-standalone-3.3.1/certs/ cp my-cert.p12 /usr/local/mule-standalone-3.3.1/certs/ cp my-trustsore.jks /usr/local/mule-standalone-3.3.1/certs/
- Se SKLTP VP - Konfiguration, hur konfiguration i vp-security-override.properties skall göras för att peka ut certifikatsfiler.
- Vid behov , se Installationsmanual Certifikat för hur en truststore hanteras.
...