dev_zulujdk11_tls1.3 初始化。1、本分支是基于zulujdk11,且支持TLS1.3;2、支持通过引入ca实现基于TLS1.3动态加入节点。

This commit is contained in:
brightestboy 2019-12-18 10:55:07 +08:00
parent fdcd943d85
commit 85eff58ce8
49 changed files with 253 additions and 163 deletions

View File

@ -14,25 +14,21 @@
- [java security](http://docs.oracle.com/javase/8/docs/technotes/guides/security/index.html)——hash、签名、密钥对及证书管理均采用jdk内置方法
## 安装
- install [jdk8+](http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html)
- install [zuluJdk11+](https://www.azul.com/downloads/zulu-community/?&architecture=x86-64-bit&package=jdk)
- install [Python](http://www.python.org/downloads/)
- install [Scala](https://www.scala-lang.org/download/)
- install [SBT](http://www.scala-sbt.org/release/docs/Setup.html)
- install [Scala IDE](http://scala-ide.org/)
- install [Idea IDE](https://www.jetbrains.com/idea/download/#section=windows)
- install [keystore-explorer](http://keystore-explorer.org/) ——用于生成密钥对的工具,非必须
- install [protobuf editor](https://github.com/Enide/polyglot-maven-editors)——编辑protobuf定义工具非必须
## 运行
- `git clone https://gitee.com/BTAJL/repchain.git`
下载项目到本地
- `sbt`
在项目的根目录下下载项目依赖项,可以配置仓库或者使用阿里镜像
- `compile`
编译成Protocol Buffer Scala类
- `eclipse`
生成eclipse工程文件
- 打开 Scala IDE, File->Import->Existing Projects,导入项目
- 右键单击 rep.app.Repchain.scala,Run As->Scala Application(单机组网4个节点)
- ` 下载项目到本地`
- git clone https://gitee.com/BTAJL/repchain.git
- `导入`
- 打开Idea IDEFile->New->Project or Project from VersionControl
- 使用Idea的sbt插件导入
- 右键单击 rep.app.Repchain.scalaRun 'RepChain'(单机组网4个节点)
- 运行配置VM参数 -Dlogback.configurationFile=conf/logback.xml (使logback配置生效)
- 查看实时图 http://localhost:8081/web/g1.html
- 查看API http://localhost:8081/swagger/index.html
@ -44,7 +40,7 @@
## 打包
- assembly
打包成jar包进行分布式部署
- 打包成jar包进行分布式部署
## 论坛社区
- http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HA0IABK9m+cb8jaYQ+ts/hK4INuQbOwAwoIhVa3uaRxsOsgoR
+QaPuwcZAIbGWSa9bn8oGjSBDQutmE5XONbdiDwPRtwwCgYIKoZIzj0EAwIDSQAw
RgIhAKZto+39OFced9YDaXYkOLrLcKD+8RbF57vzHpJrnFd1AiEAhNEK8MOsAlhM
eRZmlXsq4KsvQFs+Wav9N9qJ+GGRpCs=
-----END CERTIFICATE-----

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
jks_ca/cacerts Normal file

Binary file not shown.

View File

@ -0,0 +1,20 @@
-----BEGIN CERTIFICATE-----
MIIBVjCB/KADAgECAgRd8FknMAoGCCqGSM49BAMCMDMxETAPBgNVBAoMCHJlcGNo
YWluMQ4wDAYDVQQLDAVpc2NhczEOMAwGA1UEAwwFdHJ1c3QwHhcNMTkxMjExMDI0
OTExWhcNMjAxMjEwMDI0OTExWjAzMREwDwYDVQQKDAhyZXBjaGFpbjEOMAwGA1UE
CwwFaXNjYXMxDjAMBgNVBAMMBW5vZGUxMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcD
QgAEqLo9CXvQ/ZbpuA/M644S3sfnPtsg0IttOa1yGyEyxPHwuO3X9J2MOhO1DEq/
CSgwof8iuQ2RHnA798Ix7SQIZzAKBggqhkjOPQQDAgNJADBGAiEAw8UB0hqesZKW
NCqZ51kbGq2nxI4jvGYgij1E/Jm4+fUCIQDbTXWRf0TpjYnnCcAhyxSCGlrjnoIj
oldevvXCFhh9eg==
-----END CERTIFICATE-----
-----BEGIN CERTIFICATE-----
MIIBVTCB/KADAgECAgRd8FjlMAoGCCqGSM49BAMCMDMxETAPBgNVBAoMCHJlcGNo
YWluMQ4wDAYDVQQLDAVpc2NhczEOMAwGA1UEAwwFdHJ1c3QwHhcNMTkxMjExMDI0
ODA1WhcNMjAxMjEwMDI0ODA1WjAzMREwDwYDVQQKDAhyZXBjaGFpbjEOMAwGA1UE
C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erPeFwX7zwIhAOZublAk8sSS5037mzQcFjm6f4pIAb29
4gEWsQQocHGV
-----END CERTIFICATE-----

10
jks_ca/certs/trust.cer Normal file
View File

@ -0,0 +1,10 @@
-----BEGIN CERTIFICATE-----
MIIBVTCB/KADAgECAgRd8FjlMAoGCCqGSM49BAMCMDMxETAPBgNVBAoMCHJlcGNo
YWluMQ4wDAYDVQQLDAVpc2NhczEOMAwGA1UEAwwFdHJ1c3QwHhcNMTkxMjExMDI0
ODA1WhcNMjAxMjEwMDI0ODA1WjAzMREwDwYDVQQKDAhyZXBjaGFpbjEOMAwGA1UE
CwwFaXNjYXMxDjAMBgNVBAMMBXRydXN0MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcD
QgAEnWb6C7xEIwgDEm8TVP94eyeDkykKRnC27rrRSd+k7+M3aDUPYzDvgOQplThX
l0cHeiWNULwVnfJjNqUyVBN3WTAKBggqhkjOPQQDAgNIADBFAiALUEUiEUySNBh/
M8Yy9MZhLE/xBHY8Q0d3erPeFwX7zwIhAOZublAk8sSS5037mzQcFjm6f4pIAb29
4gEWsQQocHGV
-----END CERTIFICATE-----

BIN
jks_ca/mytrust Normal file

Binary file not shown.

BIN
jks_ca/mytruststore.jks Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
jks_ca/p12s/super_admin.p12 Normal file

Binary file not shown.

BIN
jks_ca/p12s/trust.p12 Normal file

Binary file not shown.

BIN
jks_ca/trust Normal file

Binary file not shown.

View File

@ -8,7 +8,7 @@ akka {
actor {
serialize-messages = on
serialize-messages = off
serialize-creators = off
enable-additional-serialization-bindings = on
allow-java-serialization = off
@ -41,17 +41,20 @@ akka {
netty.ssl.security {
key-store = "jks/121000005l35120456.node1.jks"
trust-store = "jks/mytruststore.jks"
trust-store = "jks/mytruststore.jks" // 加载信任列表证书用的_tls1.3
// trust-store = "jks/mytrust" // ssl用的_ca
trust-store-mm = "jks/mytruststore.jks" // 加载信任列表证书用的_origin
key-store-password = "123"
key-password = "123"
trust-store-password = "changeme"
trust-store-password = "changeme" // 加载信任列表证书用的_tls1.3
// trust-store-password = "changeit" // ssl用的_ca
trust-store-password-mm = "changeme" // 加载信任列表证书用的_origin
protocol = "TLSv1.2"
enabled-algorithms = [TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256]
random-number-generator = "AES128CounterSecureRNG"
protocol = "TLSv1.3"
enabled-algorithms = [TLS_AES_128_GCM_SHA256]
// require-mutual-authentication = on
random-number-generator = "SecureRandom"
}
}
//创世块

View File

@ -68,8 +68,8 @@ object RepChain_Multi {
nodes += sys1
// 可以根据自己的需要将nodelist.length改成对应的节点数
for (i <- 1 to 4) {
Thread.sleep(500)
for (i <- 1 to args(0).toInt) {
Thread.sleep(1000)
val sysN = new ClusterSystem(nodelist(i), InitType.MULTI_INIT, true)
sysN.init
//初始化参数和配置信息

View File

@ -26,7 +26,7 @@ import rep.storage._
import scala.collection.mutable
import com.fasterxml.jackson.core.Base64Variants
import java.security.cert.X509Certificate
import javax.xml.bind.DatatypeConverter
//import javax.xml.bind.DatatypeConverter
import java.util.ArrayList
import java.util.List
import sun.security.ec.ECPublicKeyImpl

View File

@ -177,8 +177,8 @@ class ConfigerHelper(conf: Config, tag: String, dbTag: String) {
private def authInitByCfg(sysTag: String): Unit = {
val mykeyPath = conf.getString("akka.remote.netty.ssl.security.base-path") + sysTag + ".jks"
val psw = conf.getString("akka.remote.netty.ssl.security.key-store-password")
val trustPath = conf.getString("akka.remote.netty.ssl.security.trust-store")
val trustPwd = conf.getString("akka.remote.netty.ssl.security.trust-store-password")
val trustPath = conf.getString("akka.remote.netty.ssl.security.trust-store-mm")
val trustPwd = conf.getString("akka.remote.netty.ssl.security.trust-store-password-mm")
authInit(sysTag, mykeyPath, psw, trustPath, trustPwd)
}

View File

@ -1,39 +1,18 @@
package rep.storage.test
import rep.storage.IdxPrefix.WorldStateKeyPreFix
import rep.storage.ImpDataAccess
import org.json4s.{ DefaultFormats, jackson }
import org.json4s.native.Serialization.{ write, writePretty }
import rep.protos.peer.CertId
import rep.protos.peer.Signature
import java.util.Date
import rep.crypto.Sha256
import scala.collection.mutable
import rep.storage.util.pathUtil
import scala.math._
import java.io.File;
import java.io.RandomAccessFile;
import java.nio.ByteBuffer;
import java.nio.channels.FileChannel;
//import scala.collection.immutable._
import java.nio.ByteBuffer
import rep.storage.util.pathUtil
import scalapb.json4s.JsonFormat
import org.json4s.{DefaultFormats, Formats, jackson}
import org.json4s.jackson.JsonMethods._
import org.json4s.DefaultFormats._
import scala.collection.mutable.{ArrayBuffer,LinkedHashMap}
import rep.utils.SerializeUtils.serialise
import _root_.com.google.protobuf.ByteString
import rep.utils.SerializeUtils.deserialise
object modifyWorldState extends App {
val da1 = ImpDataAccess.GetDataAccess("121000005l35120456.node1")
val key = ""
val preKey = WorldStateKeyPreFix + "ContractAssetsTPL" + "_"
val key = "121000005l35120456"
val value = 3
da1.Put(key, serialise(value))
da1.Put(preKey + key, serialise(value))
println(deserialise(da1.Get(preKey + key)))
}