Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
02514122
Commit
02514122
authored
May 22, 2020
by
Igor Frenkel
Committed by
Nick Gaskill
May 22, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove Java additional cert instructions for Dependency Scanning
parent
1a4e2c1a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
36 deletions
+0
-36
doc/user/application_security/dependency_scanning/index.md
doc/user/application_security/dependency_scanning/index.md
+0
-36
No files found.
doc/user/application_security/dependency_scanning/index.md
View file @
02514122
...
...
@@ -498,42 +498,6 @@ BUNDLER_AUDIT_ADVISORY_DB_REF_NAME: "master"
BUNDLER_AUDIT_ADVISORY_DB_URL
:
"
gitlab.example.com/ruby-advisory-db.git"
```
#### Java (Maven) projects
When using self-signed certificates, add the following job section to the
`.gitlab-ci.yml`
:
```
yaml
gemnasium-maven-dependency_scanning
:
variables
:
MAVEN_CLI_OPTS
:
"
-s
settings.xml
-Dmaven.wagon.http.ssl.insecure=true
-Dmaven.wagon.http.ssl.allowall=true
-Dmaven.wagon.http.ssl.ignore.validity.dates=true"
```
#### Java (Gradle) projects
When using self-signed certificates, add the following job section to the
`.gitlab-ci.yml`
:
```
yaml
gemnasium-maven-dependency_scanning
:
before_script
:
-
echo -n | openssl s_client -connect maven-repo.example.com:443 | sed -ne '/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p' > /tmp/internal.crt
-
keytool -importcert -file /tmp/internal.crt -cacerts -storepass changeit -noprompt
```
This adds the self-signed certificates of your Maven repository to the Java KeyStore of the analyzer's Docker image.
#### Scala (sbt) projects
When using self-signed certificates, add the following job section to the
`.gitlab-ci.yml`
:
```
yaml
gemnasium-maven-dependency_scanning
:
before_script
:
-
echo -n | openssl s_client -connect maven-repo.example.com:443 | sed -ne '/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p' > /tmp/internal.crt
-
keytool -importcert -file /tmp/internal.crt -cacerts -storepass changeit -noprompt
```
This adds the self-signed certificates of your Maven repository to the Java KeyStore of the analyzer's Docker image.
#### Python (setuptools)
When using self-signed certificates for your private PyPi repository, no extra job configuration (aside
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment