techradar | Visualization of ThoughtWorks ' Tech Radar
kandi X-RAY | techradar Summary
kandi X-RAY | techradar Summary
Visualization of ThoughtWorks' Tech Radar (www.thoughtworks.com/radar).
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of techradar
techradar Key Features
techradar Examples and Code Snippets
Community Discussions
Trending Discussions on techradar
QUESTION
I purchased the domain name 'jimtough.org' directly from Amazon so I could use it with a Cloudfront distribution. Now I have a very simple vanity site at https://jimtough.org/ that uses the certificate. I also played around with AWS API Gateway and confirmed that I can use the same certificate to provide HTTPS secured URLs to work with API Gateway.
I am also running a Java/Spring Boot web application on an EC2 server. I have already associated a Route53 DNS name with the EC2 server that hosts my Spring Boot application, like this: http://instance-b.jimtough.org/. This works, but it is using unsecured HTTP. I get a bunch of warnings when I try to do basic authentication in the application, since it would be sending my username/password via an insecure connection. Fair enough.
So my next step is to enable HTTPS in Spring Security and force secure connections to the application. In order to do this, I first need to provide a certificate for the Java runtime on the EC2 host to use. I found examples of how to do so with a self-signed certificate:
- https://mkyong.com/spring-boot/spring-boot-ssl-https-examples/
- https://www.baeldung.com/spring-boot-https-self-signed-certificate
Unfortunately, using a self-signed certificate is not what I'm looking for. I want the user to be able to browse my static content vanity site first (https://jimtough.org/), and then follow a link to my web app and keep using the same site certificate (my AWS-issued cert) for my Spring web app.
QUESTION: How can I use my AWS-issued certificate with my Java-based web application?
Inside the AWS Certificate Manager (https://console.aws.amazon.com/acm/home?region=us-east-1#/), I don't see any way to 'export' or save my certificate. Am I missing something? Maybe Amazon doesn't want me to use this certificate outside of their own services?
Note that I did originally set up the certificate with the domain name as 'jimtough.org' and the Additional Names field set to '*.jimtough.org' so I can use the certificate on sub-domains as I'm trying to do here.
EDIT
The accepted answer from julien-b is correct. I did some more research and found that SSL certificates aren't cheap, and come in different flavors. The cheapest is the 'DV' (Domain Validation) type, which only verifies that the SSL certificate is controlled by someone who also controls the DNS record for the associated domain (such as 'mydomain.com'). There are much more thorough (and expensive) certificate types that can be issued, where the issuer has to do background checks on the owning organization. Those are meant for sites that handle e-commerce, financial transactions, etc. Not at all what I need.
There are also multiple types of multi-site certificates to choose from. The very cheapest single-domain certificates only cover your primary domain and the 'www' subdomain (mysite.com and www.mysite.com). If you want all the subdomains of your primary domain covered (app.mysite.com, ftp.mysite.com, etc), then you'll need a 'wildcard' certificate. Those are significantly more expensive. The more exotic certificate types can cover multiple different domains. These seem to be aimed at making certificate management easier for organizations that manage a lot of different domains and don't need a different certificate for each. Not what I need, so I didn't investigate further.
I decided to go with a 'single-domain with subdomain wildcard' certificate from Comodo (recently renamed to Sectigo?), who appears to be the most affordable certificate vendor right now.
REFERENCE: https://www.techradar.com/news/best-ssl-certificate-provider
It seems like a missed opportunity for Amazon that they don't get in on this game and issue their own SSL certificates for a fee. AWS already has all the infrastructure in place to do so, at least for the DV-level certificates.
...ANSWER
Answered 2020-Dec-19 at 21:17You cannot export the private key of a publicly trusted ACM certificate. You can use ACM certificates with some managed services, but it doesn't work for all use cases.
https://docs.aws.amazon.com/acm/latest/userguide/export-private.html
AWS Certificate Manager is integrated with other AWS services, so you can provision an SSL/TLS certificate and deploy it with your Elastic Load Balancer, Amazon CloudFront distribution or API in Amazon API Gateway. AWS Certificate Manager also works with AWS Elastic Beanstalk and AWS CloudFormation for public email-validated certificates to help you manage public certificates and use them with your applications in the AWS Cloud.
https://aws.amazon.com/certificate-manager/features/?nc=sn&loc=2
Should you want to use a certificate on a service that is not integrated with ACM or even on-premise, you should get your certificate from another source.
As for the ACM Private CA, it is meant to be used within an organization thus not matching your use case.
https://docs.aws.amazon.com/acm-pca/latest/userguide/PcaWelcome.html
QUESTION
Code
...ANSWER
Answered 2019-Nov-29 at 22:32You are treating your newsc
like a dictionary but it is a string. Your newsa
is a list of dictionaries. Don't try to turn it into a string and then delete brackets from it hoping that it will give yıu a dictionary. Iterate in it like:
QUESTION
I have two tables, one containing list of URL and other having a list of words. My requirement is to filter out the URLs containing the words. For eg:
...ANSWER
Answered 2019-Aug-08 at 08:42Using regex:
QUESTION
I'm using Spring Integration and it's Feed Inbound Channel Adaptor to ingest RSS feeds. I've been looking at the log files and I can see quite a few errors with premature end of file exception when trying to process some of the feeds.
An example feed that produces the error is: http://www.france24.com/en/rss
I used the getting starting guide to see if I could replicate with this feed url and this is the full exception being thrown.
...ANSWER
Answered 2019-Feb-18 at 15:54Finally worked it out. When we started processing these feeds, some of them were being served over http and now they are 302 redirected to https. The Rome fetch doesn't follow the redirect and causes the exception. I didn't realise as I was checking the feeds in my browser which were automatically redirecting. If I change the feeds to https, they start working!
Would be super useful if the redirect is followed as opposed to throwing an exception. Not sure if the enhancement could be made in Spring Integration as content fetching seems to be deprecated in ROME.
QUESTION
I make an API request and get a response (news articles) where I would like to render a few items from the response. eg (article title, article description etc)
I store the response in state, and state by default is null.
I would like to have logic that allows me to render these items in an li tag, I understand to do this through the .map function but I'm not sure where and how to add the logic to get my desired outcome.
I've attempted a few things with a ternary operation but I can't seem to implement it without errors and/or incorrect placement.
I would render these items in the ul of the ArticleSilo
Here is my component with some logic I attempted.
...ANSWER
Answered 2018-Apr-19 at 07:20render() {
return (
News Sources
-
Polygon
-
TechRadar
-
Hacker News
-
National Geographic
-
Ars Technica
-
Breitbart News
-
Crypto Coins News
-
The Verge
-
The Next Web
{this.state.articles.map(article => (
-
Title: {article.title}
Description: {article.desc}
)
}
);
}
QUESTION
I created and published my first npm package. This package contains JS in ES6 syntax and is transpiled to ES5 with webpack and babel.
Now I want to use this npm package but it fails with following error:
...ANSWER
Answered 2017-Oct-03 at 18:26You seem to be misunderstanding how publishing and using packages works.
Ignoring Webpack entirely, a standard npm
module has main
set to the JS file that is the root of your package, and generally packages published to npm
are compiled with Babel before being published. Usually before publishing technology-radar
, you'd use a package like babel-cli
with
QUESTION
On Concourse, I am running integration tests where I run certain npm scripts. There is a particular script that build my backend/frontend and then proceeds to run the tests. However once the test is done (fail or succeed). the npm script does not stop. It doesn't error out and hangs indefinitely either when the tests fail or succeeds. I have run this script on a local machine and a local container and the npm script works fine. Only on Concourse, the script hangs forever.
To give more context to my setup here is a sample of the npm script which is run on the frontend
...ANSWER
Answered 2017-Aug-28 at 12:25Are you sure that your resources are available in the tasks docker container?
You specify multiple inputs here
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install techradar
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page