imp_o_rt
JCHJava Community | Help. Code. Learn.
•Created by De1ora on 12/31/2024 in #java-help
Github Repo Question [Beginner]
but if you are just wanting to experiment then consider just branching https://www.atlassian.com/git/tutorials/using-branches
9 replies
JCHJava Community | Help. Code. Learn.
•Created by De1ora on 12/31/2024 in #java-help
Github Repo Question [Beginner]
making a new repo won't cause any conflicts, locally you can clone 2 different repos to 2 different directories and they can open as 2 different projects
9 replies
JCHJava Community | Help. Code. Learn.
•Created by Koblížkáč on 7/30/2024 in #java-help
How to make spring boot @Value fields inject the values from properties?
this test seems a little confused - if you're using mocks you probably don't need to use spring (and vice versa)?
31 replies
JCHJava Community | Help. Code. Learn.
•Created by Koblížkáč on 7/30/2024 in #java-help
How to make spring boot @Value fields inject the values from properties?
try using
SpringExtension
31 replies
JCHJava Community | Help. Code. Learn.
•Created by Koblížkáč on 7/30/2024 in #java-help
How to make spring boot @Value fields inject the values from properties?
you're using MockitoExtension so spring context is not starting
31 replies
JCHJava Community | Help. Code. Learn.
•Created by bambyzas on 7/31/2024 in #java-help
how to call my application that is running on a server?
depends how it's deployed, where, if 8080 is mapped to 443, etc.
7 replies
JCHJava Community | Help. Code. Learn.
•Created by bambyzas on 6/18/2024 in #java-help
how to use two separate SSL certs when my app calls different endpoints?
unless if only server side is changing but client CertificateRequest (mTLS) doesn't
88 replies
JCHJava Community | Help. Code. Learn.
•Created by bambyzas on 6/18/2024 in #java-help
how to use two separate SSL certs when my app calls different endpoints?
if signer changes then old cert signed by old signer will no longer be valid
88 replies
JCHJava Community | Help. Code. Learn.
•Created by bambyzas on 6/18/2024 in #java-help
how to use two separate SSL certs when my app calls different endpoints?
(and therefore need to update your keystore)
88 replies
JCHJava Community | Help. Code. Learn.
•Created by bambyzas on 6/18/2024 in #java-help
how to use two separate SSL certs when my app calls different endpoints?
if the signer changes you need a new client cert
88 replies
JCHJava Community | Help. Code. Learn.
•Created by bambyzas on 6/18/2024 in #java-help
how to use two separate SSL certs when my app calls different endpoints?
but will you have a new cert to identify with?
88 replies
JCHJava Community | Help. Code. Learn.
•Created by bambyzas on 6/18/2024 in #java-help
how to use two separate SSL certs when my app calls different endpoints?
but also if that root cert is a well known one e.g. verisign/GTS/ISRG/etc then updating the jdk will update the cacerts
88 replies
JCHJava Community | Help. Code. Learn.
•Created by bambyzas on 6/18/2024 in #java-help
how to use two separate SSL certs when my app calls different endpoints?
changing the root cert is usually a once-in-a-decade major exercise
88 replies
JCHJava Community | Help. Code. Learn.
•Created by bambyzas on 6/18/2024 in #java-help
how to use two separate SSL certs when my app calls different endpoints?
companies change their edge certs all the time but this doesn't affect your setup since they will be signed by the same small handful of root certs and that signer/root cert chain is unchanged
88 replies
JCHJava Community | Help. Code. Learn.
•Created by bambyzas on 6/18/2024 in #java-help
how to use two separate SSL certs when my app calls different endpoints?
if you mean the root cert that it uses in its CertificateRequest, then you have to get a new cert signed by that new CA and update the keystore
88 replies
JCHJava Community | Help. Code. Learn.
•Created by bambyzas on 6/18/2024 in #java-help
how to use two separate SSL certs when my app calls different endpoints?
usually this leads the server to hang up on you but in this testing server's case it accepts it anyway and returns a 403
88 replies
JCHJava Community | Help. Code. Learn.
•Created by bambyzas on 6/18/2024 in #java-help
how to use two separate SSL certs when my app calls different endpoints?
in this case i didn't present a cert:
88 replies
JCHJava Community | Help. Code. Learn.
•Created by bambyzas on 6/18/2024 in #java-help
how to use two separate SSL certs when my app calls different endpoints?
in this simple case the only requirement is to send a client cert signed using one of the signature schemes in the list, but in real life the CertificateRequest asks for a cert signed by a specific CA with a specific signature
88 replies
JCHJava Community | Help. Code. Learn.
•Created by bambyzas on 6/18/2024 in #java-help
how to use two separate SSL certs when my app calls different endpoints?
88 replies
JCHJava Community | Help. Code. Learn.
•Created by bambyzas on 6/18/2024 in #java-help
how to use two separate SSL certs when my app calls different endpoints?
so you can have multiple private key entries in the same keystore and java will select the right one depending on the CertificateRequest it received from the server
88 replies