You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/site/setup_client.mkd
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -28,7 +28,7 @@ You may run into SNI alerts (Server Name Indication). These will manifest as fa
28
28
29
29
#### Java-based Clients
30
30
31
-
When using Java 7-based clients, SNI is enabled by default. You can disable SNI by specifying the JVM system parameter `-Djsse.enableSNIExtension=false` when your Java-based client launches.
31
+
Luckily, Java 6-based clients ignore SNI alerts but when using Java 7-based clients, SNI checking is enabled by default. You can disable SNI alerts by specifying the JVM system parameter `-Djsse.enableSNIExtension=false` when your Java-based client launches.
32
32
33
33
For Eclipse, you can append `-Djsse.enableSNIExtension=false` to your *eclipse.ini* file.
Copy file name to clipboardExpand all lines: src/site/setup_express.mkd
+15-7Lines changed: 15 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -10,6 +10,10 @@ as Gitblit Express is not a source distribution to be built with Maven on OpenSh
10
10
Gitblit automatically adjusts itself to running on OpenShift. Repositories, users,
11
11
federation proposals, setting overrides, and Groovy push scripts are stored in *OPENSHIFT_DATA_DIR*.
12
12
13
+
### Recommended Settings
14
+
15
+
You should disable the git daemon by setting *git.daemonPort=0*.
16
+
13
17
It is recommended to enable all RPC settings in the `web.xml` file to allow remote
14
18
administration and, more importantly, configuration of your Gitblit Express
15
19
installation using the Gitblit Manager.
@@ -25,16 +29,20 @@ doing:
25
29
-*groovy.scriptsFolder*
26
30
-*federation.proposalsFolder*
27
31
-*realm.userService* (for standard users.conf)
28
-
29
-
Additionally, it is recommended to force your Gitblit installation to cleanup up
30
-
older versions on your OpenShift filesystem to maximize available space for your
31
-
repositories.
32
32
33
-
Append the following command to your ./openshift/action_hooks/build file:
33
+
### Native Git Failures
34
+
35
+
Unfortunately, sometime in early 2013 RedHat changed their SSL certificate such that cloning from/pushing to Gitblit Express over https fails due to an SNI (server name indication) TLS alert. There is no known workaround for native git and https.
36
+
37
+
However, if your git client is JGit-based, like Eclipse/EGit, then you can workaround this problem and happily push/clone using https and OpenShift.
38
+
39
+
Luckily, Java 6-based clients ignore SNI alerts but when using Java 7-based clients, SNI checking is enabled by default. You can disable SNI alerts by specifying the JVM system parameter `-Djsse.enableSNIExtension=false` when your Java-based client launches.
40
+
41
+
For Eclipse, you can append `-Djsse.enableSNIExtension=false` to your *eclipse.ini* file.
0 commit comments