Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4615534
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T01:51:13+00:00 2026-05-22T01:51:13+00:00

I am trying to deploy my web app remotely using the tomcat plugin from

  • 0

I am trying to deploy my web app remotely using the tomcat plugin from maven (mvn tomcat:deploy).

The Tomcat App Server Manager is at https://MyRemoteTomcatInstance/manager.

Firstly, I added the certificate to my trust store with this command:

keytool -v -alias mavensrv -import -file /Users/christianachilli/Desktop/KubePartnersLtd.p12 -keystore /Users/christianachilli/trust.jks

The file KubePartnersLtd.p12 is the result of exporting the site certificate with the Browser (I used FF 3.6).

Secondly, I added the

.mavenrc

file and here comes the pain for me! I am not sure of what should I put in it. At the moment I filled it in with:

MAVEN_OPTS="-Xmx512m -Djavax.net.ssl.trustStore=/Users/christianachilli/trust.jks \
                     -Djavax.net.ssl.trustStorePassword=123456  \
                     -Djavax.net.ssl.keyStore=/Users/christianachilli/.keystore \
                     -Djavax.net.ssl.keyStoreType= \
                     -Djavax.net.ssl.keyStorePassword="

This gives me an error:

No subject alternative names present

I tried many other combination using the brute force pattern but I couldn’t succeed. I’d really appreciate if someone could point me in the right direction about what should be the parameters in

MAVEN_OPTS

Thanks and regards,
C

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-22T01:51:14+00:00Added an answer on May 22, 2026 at 1:51 am

    Check which CN is KubePartnersLtd.p12 for, e.g. localhost in the following example:

    $ openssl verify tomcat-p12.crt 
    tomcat-p12.crt: /C=Unknown/ST=Unknown/L=Unknown/O=Unknown/OU=Unknown/CN=localhost
    [...]
    

    Make sure that such CN matches the DNS name you’re using in the tomcat plugin configuration. In case they’re not the same, you might consider adding an entry to your hosts file.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am trying to deploy a webapplication using maven cargo plugin into tomcat server.
I am trying to deploy my little Catalyst web app using Plack/Starman. All the
I used ant when building my web app from eclipse to deploy to Tomcat
I'm trying to deploy an app using a Web Setup Project. The problem I'm
In IIS 6, I am trying to deploy a Web Site project from Visual
I'm trying to deploy new web application in Tomcat 6.0, but whenever I click
I'm trying to deploy an application to Tomcat 7 on a Windows server. I
I have a Web Application that I'm trying to move from Sun Application Server
I am using Jetty for the first time to deploy a GWT web app
I'm using IIS and trying to deploy a web application that needs authentication mode=Windows.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.