Home
Join the Community
Welcome Center
Welcome Center
Join Slack
Be a Splunk Champion
SplunkTrust
Splunk MVP
Become a User Group Leader
Splunk Love
Share a Tip
Find Answers
Splunk Administration
Getting Data In
Deployment Architecture
Monitoring Splunk
Using Splunk
Splunk Search
Dashboards & Visualizations
Splunk Products
Splunk Enterprise
Splunk Enterprise Security
Splunk Cloud Platform
Splunk Observability Cloud
Splunk AppDynamics
Splunk SOAR
Apps & Add-ons
All Apps and Add-ons
Splunk Development
Events
User Groups
Tech Talks: Technical Deep Dives
Office Hours: Ask the Experts
From Data to Insight: The Splunk Dashboard Contest
Dashboard Contest Terms and Conditions
Blogs
Community Blog
Product News & Announcements
Training & Certification Blog
Learning
Learning Paths
Training & Certification
Training + Certification Discussions
AppDynamics Knowledge Base
Best of conf
Resources
.conf25
Splunkbase
Developers
Documentation
Splunk Ideas
Splunk Events
Voice of Customer
Sign In
cancel
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for
Show
only
|
Search instead for
Did you mean:
×
Join the Conversation
Without signing in, you're just watching from the sidelines.
Sign in or Register
to connect, share, and be part of the Splunk Community.
Ask a Question
Find Answers
:
About freebuf
freebuf
New Member
Member since:
10-17-2017
06-05-2020
Community Statistics
Posts
1
Solutions
0
Karma Given
0
Karma Received
0
Member Since
10-17-2017
Activity Feed
Posted
Re: Java 访问splunk服务器出现错误:java.lang.RuntimeException: No appropriate protocol (protocol is disabled or cipher suites are inappropriate)
on
Splunk Dev
.
10-17-2017
12:11 AM
Topics I've Started
No posts to display.
View All
Latest Contributions by freebuf
Topics freebuf has Participated In
Latest Contributions by freebuf
Re: Java 访问splunk服务器出现错误:java.lang.RuntimeExceptio...
by
freebuf
in
Splunk Dev
10-17-2017
12:11 AM
10-17-2017
12:11 AM
public void splunk(){ try{ ServiceArgs login = new ServiceArgs(); login.setUsername("admin"); login.setPassword("1234"); login.setHost("localhost"); login.setPort(8089); HttpService.setSslSecurityProtocol(SSLSecurityProtocol.TLSv1_2); Service service = Service.connect(login); for(User user : service.getUsers().values()) System.out.println(user.getName()); }catch(Exception e){ e.printStackTrace(); } }
... View more
Contact Me
Online Status
Offline
Date Last Visited
06-05-2020
02:03 AM