From users-return-53299-archive-asf-public=cust-asf.ponee.io@cxf.apache.org Tue Apr 21 08:02:15 2020 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id C9FBC18065D for ; Tue, 21 Apr 2020 10:02:14 +0200 (CEST) Received: (qmail 24601 invoked by uid 500); 21 Apr 2020 08:02:13 -0000 Mailing-List: contact users-help@cxf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@cxf.apache.org Delivered-To: mailing list users@cxf.apache.org Received: (qmail 24588 invoked by uid 99); 21 Apr 2020 08:02:13 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Apr 2020 08:02:13 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 243DBC012B for ; Tue, 21 Apr 2020 08:02:13 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.46 X-Spam-Level: * X-Spam-Status: No, score=1.46 tagged_above=-999 required=6.31 tests=[HTML_MESSAGE=0.2, KAM_DMARC_STATUS=0.01, KHOP_HELO_FCRDNS=0.276, SPF_HELO_NONE=0.001, SPF_SOFTFAIL=0.972, URIBL_BLOCKED=0.001] autolearn=disabled Received: from mx1-he-de.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id c7x1pFmIt_Ql for ; Tue, 21 Apr 2020 08:02:11 +0000 (UTC) Received-SPF: Softfail (mailfrom) identity=mailfrom; client-ip=93.34.9.207; helo=rovere.tirasa.net; envelope-from=skylark17@apache.org; receiver= Received: from rovere.tirasa.net (smtp.tirasa.net [93.34.9.207]) by mx1-he-de.apache.org (ASF Mail Server at mx1-he-de.apache.org) with ESMTPS id 707447FBAD for ; Tue, 21 Apr 2020 07:51:38 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by rovere.tirasa.net (Postfix) with ESMTP id 345E83C0A3202 for ; Tue, 21 Apr 2020 09:51:32 +0200 (CEST) X-Virus-Scanned: amavisd-new at tirasa.net Received: from rovere.tirasa.net ([127.0.0.1]) by localhost (rovere.tirasa.net [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id aPb6EjPkOcXQ for ; Tue, 21 Apr 2020 09:51:32 +0200 (CEST) Received: from [192.168.1.4] (host191-183-dynamic.248-95-r.retail.telecomitalia.it [95.248.183.191]) (Authenticated sender: matteo.alessandroni@tirasa.net) by rovere.tirasa.net (Postfix) with ESMTPSA id D4B373C0A2E7F for ; Tue, 21 Apr 2020 09:51:31 +0200 (CEST) To: users@cxf.apache.org From: Matteo Alessandroni Subject: Generate random JWK Keys with Apache CXF Message-ID: <0502d621-7ce5-f7d0-ed44-0ccfca3a9a01@apache.org> Date: Tue, 21 Apr 2020 09:51:31 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.7.0 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="------------20D8DFB59CA7C52902A005E1" Content-Language: en-US --------------20D8DFB59CA7C52902A005E1 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Hi, is it possible to have a snippet on how to generate random JWK keys (e.g. the JSON on [1])? I was checking the official reference on [2], but could not figure out how to do that. Thanks [1] https://raw.githubusercontent.com/apache/cxf/master/systests/rs-security/src/test/resources/org/apache/cxf/systest/jaxrs/security/certs/jwkPublicSet.txt [2] https://cxf.apache.org/docs/jax-rs-jose.html#JAX-RSJOSE-JWKKeys --------------20D8DFB59CA7C52902A005E1--