You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openmeetings.apache.org by so...@apache.org on 2021/02/17 14:40:55 UTC

[openmeetings] branch master updated: [OPENMEETINGS-2578] TLSv1.2 is used as OAuth protocol

This is an automated email from the ASF dual-hosted git repository.

solomax pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/openmeetings.git


The following commit(s) were added to refs/heads/master by this push:
     new acf0375  [OPENMEETINGS-2578] TLSv1.2 is used as OAuth protocol
acf0375 is described below

commit acf0375b1ad0b1308824f8bef71599834305aec9
Author: Maxim Solodovnik <so...@gmail.com>
AuthorDate: Wed Feb 17 21:40:39 2021 +0700

    [OPENMEETINGS-2578] TLSv1.2 is used as OAuth protocol
---
 .../src/main/java/org/apache/openmeetings/web/app/UserManager.java      | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/openmeetings-web/src/main/java/org/apache/openmeetings/web/app/UserManager.java b/openmeetings-web/src/main/java/org/apache/openmeetings/web/app/UserManager.java
index 76a8dcf..36b6b8e 100644
--- a/openmeetings-web/src/main/java/org/apache/openmeetings/web/app/UserManager.java
+++ b/openmeetings-web/src/main/java/org/apache/openmeetings/web/app/UserManager.java
@@ -283,7 +283,7 @@ public class UserManager implements IUserManager {
 				}
 			}};
 			try {
-				SSLContext sslContext = SSLContext.getInstance("SSL");
+				SSLContext sslContext = SSLContext.getInstance("TLSv1.2");
 				sslContext.init(null, trustAllCerts, new SecureRandom());
 				SSLParameters sslParams = new SSLParameters();
 				sslParams.setEndpointIdentificationAlgorithm("");