小编qmo*_*qmo的帖子

Jenkins Pipeline擦除工作区

我们正在运行Jenkins 2.x并喜欢新的Pipeline插件.但是,如果存储库中有如此多的分支,则磁盘空间会很快填满.

是否有任何与Pipeline兼容的插件可以在成功的构建中消除工作空间?

workspace jenkins jenkins-pipeline

121
推荐指数
10
解决办法
16万
查看次数

如何为gRPC启用服务器端SSL?

gRPC的新功能,无法找到有关如何在服务器端启用SSL的任何示例.我使用openssl生成了一个密钥对,但它抱怨私钥无效.

D0608 16:18:31.390303 Grpc.Core.Internal.UnmanagedLibrary Attempting to load native library "...\grpc_csharp_ext.dll"
D0608 16:18:31.424331 Grpc.Core.Internal.NativeExtension gRPC native library loaded successfully.
E0608 16:18:43.307324 0 ..\src\core\lib\tsi\ssl_transport_security.c:644: Invalid private key.
E0608 16:18:43.307824 0 ..\src\core\lib\security\security_connector.c:821: Handshaker factory creation failed with TSI_INVALID_ARGUMENT.
E0608 16:18:43.307824 0 ..\src\core\ext\transport\chttp2\server\secure\server_secure_chttp2.c:188: Unable to create secure server with credentials of type Ssl.
Run Code Online (Sandbox Code Playgroud)

这是我的代码

var keypair = new KeyCertificatePair(
            File.ReadAllText(@"root-ca.pem"),
            File.ReadAllText(@"ssl-private.key"));
SslServerCredentials creds = new SslServerCredentials(new List<KeyCertificatePair>() {keypair});
Server server = new Server
{
    Services = { GrpcTest.BindService(new GrpcTestImpl()) },
    Ports = { new …
Run Code Online (Sandbox Code Playgroud)

c# ssl-certificate grpc

8
推荐指数
2
解决办法
7762
查看次数

使用SSL保护自托管的OWIN + Web API 2

我已经将我的OWIN自托管Web Api 2应用程序配置为以https:// ...开头,并使用netsh将自签名SSL证书附加到我的应用程序.但是,从Fiddler,我仍然通过HTTPS频道看到明文.

OWIN需要特殊处理吗?

谢谢!

ssl fiddler asp.net-web-api owin

6
推荐指数
0
解决办法
1250
查看次数