-
Install Nexus Repository OSS
-
Sign-in with admin:admin123 https://help.sonatype.com/display/NXRM3/Configuration
-
edit jetty-https.xml, work/nexus3/etc/nexus.properties
application-port-ssl=8443
-
add jetty-https.xml https://help.sonatype.com/display/NXRM3/Configuring+SSL#ConfiguringSSL-InboundSSL-ConfiguringtoServeContentviaHTTPS
-
run it with
nexus.exe /run
-
Install Windows Server + Docker
-
Create windowsservercore base image http://d.hatena.ne.jp/mjt/20170130/p1
-
Import certificate
-
Import-Certificate out.cer -CertStoreLocation Cert:\LocalMachine\Root
-
Re-roll score image
-
tar xf score.tar manifest.json
-
(Edit manifest.json)
-
tar --delete -f score.tar manifest.json
-
tar uf score.tar manifest.json
-
docker load -i e:/score.tar
-
docker login stripe.local:18888
-
docker tag wins:import stripe.local:18888/wins:import
-
docker push stripe.local:18888/wins:import
-
Install VS build tools
-
https://docs.microsoft.com/en-us/visualstudio/install/install-vs-inconsistent-quality-network
-
vs_buildtools__203620342.1509170945.exe --layout d:\sdkwork\vs --lang en-US
(GUI, auto download) -
--includeOptional
-
(It seems we have
--noweb
to disable HTTP)
"c:\Program Files (x86)\Java\jre1.8.0_121\bin\keytool.exe" -genkeypair -keystore keystore.jks
-storepass PASSWORD00 -keypass PASSWORD00 -alias jetty -keyalg RSA -keysize 2048 -validity 5000
-dname "CN=*.stripe.local OU=nexus3 O=stripe" -ext "SAN=DNS:stripe.local" -ext "BC=ca:true"
"c:\Program Files (x86)\Java\jre1.8.0_121\bin\keytool.exe" -printcert -sslserver stripe.local:8443 -rfc > out.cer
[{"Config":"4d83c32ad497f063ae77377afb9285ed3f8a2d2dc52eb53268a7152777b25add.json",
"RepoTags":["wins:import"],"Layers":["e1b1db55a3c19a5e4a13ec189f9327aaedc4b2a0b9282422dab1dc3ec73b030f\\layer.tar",
"1e49c27c5a0fe5187d41446870fa34fc3e8f0fb86d9783b5ab804c622d5f7dd8\\layer.tar"]}]