Community
Splunk Answers
Splunk Administration
Deployment Architecture
Getting Data In
Installation
Security
Knowledge Management
Monitoring Splunk
Using Splunk
Splunk Search
Dashboards & Visualizations
Splunk Dev
Alerting
Reporting
Other Usage
Splunk Platform Products
Splunk Enterprise
Splunk Cloud Platform
Splunk Data Stream Processor
Splunk Data Fabric Search
Splunk Premium Solutions
News & Education
Blog & Announcements
Community Blog
Product News & Announcements
Practitioner Resources
Adoption Boards
Community Office Hours
Splunk Tech Talks
Great Resilience Quest
Training & Certification
Training + Certification Discussions
Training & Certification Blog
Community Lounge
Getting Started
Welcome
Feedback
SplunkTrust
User Groups
Splunk Love
Apps and Add-ons
All Apps and Add-ons
User Groups
Resources
SplunkBase
Developers
Documentation
Splunk Ideas
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
Search instead for
Did you mean:
All community
Knowledge base
freebuf
Users
Products
cancel
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for
Search instead for
Did you mean:
Ask a Question
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