The Reds Posted October 21, 2020 Share Posted October 21, 2020 Есть файлы из которых нужно собрать конфигурацию OpenVPN. Spoiler client proto udp dev tun remote openvpn-russia-6.atomintersoft.com 81 cipher RC2-40-CBC verb 2 mute 20 keepalive 10 120 comp-lzo key-direction 1 persist-key persist-tun float resolv-retry infinite nobind tls-cipher "DEFAULT:@SECLEVEL=0" <auth-user-pass> v1021-272010 jGeye6gBxtqr </auth-user-pass> <ca> -----BEGIN CERTIFICATE----- MIIDNzCCAqCgAwIBAgIJAKTCfsZLnhC3MA0GCSqGSIb3DQEBBQUAMHExCzAJBgNV BAYTAlJVMQswCQYDVQQIEwJNTzEPMA0GA1UEBxMGTW9za3ZhMRowGAYDVQQKExFB dG9tSW50ZXJTb2Z0LmNvbTEoMCYGCSqGSIb3DQEJARYZc3VwcG9ydEBhdG9taW50 ZXJzb2Z0LmNvbTAeFw0xMTA2MjAwODI5MTBaFw0zMzA1MTUwODI5MTBaMHExCzAJ BgNVBAYTAlJVMQswCQYDVQQIEwJNTzEPMA0GA1UEBxMGTW9za3ZhMRowGAYDVQQK ExFBdG9tSW50ZXJTb2Z0LmNvbTEoMCYGCSqGSIb3DQEJARYZc3VwcG9ydEBhdG9t aW50ZXJzb2Z0LmNvbTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAuZ/lIKQq wTs9j/S6F9QNh/p9W+kHrOh6AUSfNFjO020dUU0iQbYo1P9DspNF6Zi8lPX0P5U8 +wajSlhimDSrIRZ9P2peeGuMTKUeWqNmh4hOJW99HQwYCHOuURnOhuq4+Voz6tKm cqn0CY0YQvCBg0FxHmptU4IQLnyb0+ST/hsCAwEAAaOB1jCB0zAdBgNVHQ4EFgQU zgC/GqGX8KSJYt3sKUcQaUZSNBMwgaMGA1UdIwSBmzCBmIAUzgC/GqGX8KSJYt3s KUcQaUZSNBOhdaRzMHExCzAJBgNVBAYTAlJVMQswCQYDVQQIEwJNTzEPMA0GA1UE BxMGTW9za3ZhMRowGAYDVQQKExFBdG9tSW50ZXJTb2Z0LmNvbTEoMCYGCSqGSIb3 DQEJARYZc3VwcG9ydEBhdG9taW50ZXJzb2Z0LmNvbYIJAKTCfsZLnhC3MAwGA1Ud EwQFMAMBAf8wDQYJKoZIhvcNAQEFBQADgYEAXYw23rhMzuebh0zbzme3DTM9QMPE IDymw5cm4qUZW0rcUFsA+4oPnUKjSF+Epowu+TocvtimJq7uxAxHbjswdvKEDasq 8e8QYAnanu8HjNK9ahqxgzX1LTvtfvveG5j/8q4l8eaFYHz2xa1jJ/SxhwPJLCXT D2pAzRTyv+9inyA= -----END CERTIFICATE----- </ca> <cert> Certificate: Data: Version: 3 (0x2) Serial Number: 6125 (0x17ed) Signature Algorithm: md5WithRSAEncryption Issuer: C=RU, ST=MO, L=Moskva, O=AtomInterSoft.com/emailAddress=support@atomintersoft.com Validity Not Before: Oct 21 12:20:50 2020 GMT Not After : Oct 23 12:20:50 2020 GMT Subject: C=RU, ST=MO, L=Moskva, O=AtomInterSoft, OU=VPN, CN=v1021-272010/emailAddress=support@atomintersoft.com Subject Public Key Info: Public Key Algorithm: rsaEncryption RSA Public Key: (1024 bit) Modulus (1024 bit): 00:af:fc:ed:18:c3:63:e8:55:6d:83:5c:ed:a7:c6: 05:bb:81:79:d0:64:0a:18:b8:f7:7a:ae:ca:de:6f: ac:af:0d:81:b8:ee:11:8f:92:d9:1f:e1:46:79:db: 48:c0:89:21:6e:48:a0:35:58:c4:3c:27:69:3b:c0: 3a:40:3d:a6:c2:73:66:80:55:5f:b6:82:7b:d2:9d: 0e:bc:fc:99:06:26:c2:b0:74:6d:c2:9e:35:b0:03: 3f:2f:64:0e:68:82:cb:0e:09:2f:e2:b1:de:31:6a: 3f:78:d9:5e:34:24:ad:8a:71:83:93:34:24:a1:71: 83:85:f3:7c:95:99:58:c6:8b Exponent: 65537 (0x10001) X509v3 extensions: X509v3 Basic Constraints: CA:FALSE Netscape Comment: OpenSSL Generated Certificate X509v3 Subject Key Identifier: 59:B8:B9:93:1E:4B:9A:F4:85:02:54:B2:60:C4:63:C1:22:1D:A6:41 X509v3 Authority Key Identifier: keyid:CE:00:BF:1A:A1:97:F0:A4:89:62:DD:EC:29:47:10:69:46:52:34:13 DirName:/C=RU/ST=MO/L=Moskva/O=AtomInterSoft.com/emailAddress=support@atomintersoft.com serial:A4:C2:7E:C6:4B:9E:10:B7 Signature Algorithm: md5WithRSAEncryption aa:f6:df:c4:7b:1e:23:db:b9:dc:bd:49:a0:ed:16:9b:5b:5c: a7:52:4e:63:25:de:e4:61:b5:dc:a2:11:f0:5b:2c:1a:96:07: 98:5a:eb:4a:a5:5f:09:ae:0d:16:48:69:b8:31:85:cf:c5:27: b8:f1:53:22:14:ba:79:06:7c:d7:e3:96:fc:07:fa:fa:4c:3a: 10:53:63:d3:b4:f5:55:b6:98:cf:63:bc:fd:ac:28:e6:0e:3c: c7:a6:94:ad:d4:8b:45:5e:20:a1:ce:69:80:f2:e8:51:41:28: a0:40:a3:a8:2a:d2:bc:f2:ae:34:4a:df:a6:f7:ac:fa:a5:32: d6:4d -----BEGIN CERTIFICATE----- MIIDfjCCAuegAwIBAgICF+0wDQYJKoZIhvcNAQEEBQAwcTELMAkGA1UEBhMCUlUx CzAJBgNVBAgTAk1PMQ8wDQYDVQQHEwZNb3NrdmExGjAYBgNVBAoTEUF0b21JbnRl clNvZnQuY29tMSgwJgYJKoZIhvcNAQkBFhlzdXBwb3J0QGF0b21pbnRlcnNvZnQu Y29tMB4XDTIwMTAyMTEyMjA1MFoXDTIwMTAyMzEyMjA1MFowgZIxCzAJBgNVBAYT AlJVMQswCQYDVQQIEwJNTzEPMA0GA1UEBxMGTW9za3ZhMRYwFAYDVQQKEw1BdG9t SW50ZXJTb2Z0MQwwCgYDVQQLEwNWUE4xFTATBgNVBAMTDHYxMDIxLTI3MjAxMDEo MCYGCSqGSIb3DQEJARYZc3VwcG9ydEBhdG9taW50ZXJzb2Z0LmNvbTCBnzANBgkq hkiG9w0BAQEFAAOBjQAwgYkCgYEAr/ztGMNj6FVtg1ztp8YFu4F50GQKGLj3eq7K 3m+srw2BuO4Rj5LZH+FGedtIwIkhbkigNVjEPCdpO8A6QD2mwnNmgFVftoJ70p0O vPyZBibCsHRtwp41sAM/L2QOaILLDgkv4rHeMWo/eNleNCStinGDkzQkoXGDhfN8 lZlYxosCAwEAAaOCAQEwgf4wCQYDVR0TBAIwADAsBglghkgBhvhCAQ0EHxYdT3Bl blNTTCBHZW5lcmF0ZWQgQ2VydGlmaWNhdGUwHQYDVR0OBBYEFFm4uZMeS5r0hQJU smDEY8EiHaZBMIGjBgNVHSMEgZswgZiAFM4Avxqhl/CkiWLd7ClHEGlGUjQToXWk czBxMQswCQYDVQQGEwJSVTELMAkGA1UECBMCTU8xDzANBgNVBAcTBk1vc2t2YTEa MBgGA1UEChMRQXRvbUludGVyU29mdC5jb20xKDAmBgkqhkiG9w0BCQEWGXN1cHBv cnRAYXRvbWludGVyc29mdC5jb22CCQCkwn7GS54QtzANBgkqhkiG9w0BAQQFAAOB gQCq9t/Eex4j27ncvUmg7RabW1ynUk5jJd7kYbXcohHwWywalgeYWutKpV8Jrg0W SGm4MYXPxSe48VMiFLp5BnzX45b8B/r6TDoQU2PTtPVVtpjPY7z9rCjmDjzHppSt 1ItFXiChzmmA8uhRQSigQKOoKtK88q40St+m96z6pTLWTQ== -----END CERTIFICATE----- </cert> <key> -----BEGIN RSA PRIVATE KEY----- Proc-Type: 4,ENCRYPTED DEK-Info: DES-EDE3-CBC,4EF16351F3291A9D SSfqMG41iGAbWm8up8X18GhLQfxDmH/MoTKlejojxTcIAXtX1IJdG4OWBZUlysTV ZxgYLhGYRnCoaVrXF7+r7/ZP4mg+wMxNql/ATbHTnHBvvYeRfMTsFjsbPZvaebkz QRZlGBhuuShZ77QETrDYXxrgJ3OgtECPipGmd3tVfewV9lVVmOPFVHd/x8YQMtNm Jj7QfE8XXJYX36NBjMmBd72RPy3KUaniLg4O6eLzp/QzXPYVqXl5BZNSUy+m2KTh LR/Buum3lOElTHx4OsrgqIseE0OkgH1HLEyvTFaE5wSyhlJH8MXz5JrNuqo+nJm+ xOiAxTO/9pse4kKnl9eudHuuylDmK0FjQpvIqkXnWeahuwtrQFe5NIJE4WqGXvJd 8Wzly6r4CwZArOoq7CFLmAL8OtC+Tk4l/tCtFrK5i+Nl3lmgfVXqeKOXZ1T/7BZz DWgnIJ8+YUX5apSQy0RZcCIRPQzzR7Om7m3EdbHVm24qorGk4+31oVAGkTmQxCHz 7FmKb3HBq/rkgFJOjVih1FS+CWfhyMlOcfpplk8TaJSD5i8JnrUMyw8y7l6yveVO xYUpknyvUZ0nX44L5ISLlg0UfWL9AQF4EiKoXKd4ykvWE6C74ETStmEYVxAuego2 zjt/0HssclCeDWUq407Jl9XPDGJwAUnPpfv9YdQFhRXiO4urplTMQMFRT8i6cm23 PA85yjekTHsEEUb//GEi/xw47BOICIZVoAgtgb/ewXNnhwKK8goUw45Kcd4E0wcA FKG+1OWvCC0+WI8Ib4cD5Qoqp3/KBh0thAeMzNCrQARB0ahxEcuiUQ== -----END RSA PRIVATE KEY----- </key> Вроде все делаю правильно, но появляется такое. Я так понимаю надо ключ расшифровать как то, но как это сделать? OpenVPN1 using default password "password" for pkcs file OpenVPN1 Error: private key password verification failed OpenVPN1 Exiting due to fatal error ndm Service: "OpenVPN1": unexpectedly stopped. Quote Link to comment Share on other sites More sharing options...
Le ecureuil Posted October 21, 2020 Share Posted October 21, 2020 @The Reds https://www.systutorials.com/how-to-decrypt-a-password-protected-rsa-private-key/ Quote Link to comment Share on other sites More sharing options...
The Reds Posted October 22, 2020 Author Share Posted October 22, 2020 12 hours ago, Le ecureuil said: @The Reds https://www.systutorials.com/how-to-decrypt-a-password-protected-rsa-private-key/ Ключ расшифровал, но появилась такая ошибка Окт 22 13:07:51 ndm Network::RoutingTable: gateway 10.189.188.17 is unreachable via OpenVPN1. Окт 22 13:07:51 ndm Network::Interface::OpenVpn: "OpenVPN1": failed to add a nameserver route. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.