SSLProtocolException: handshake alert: unrecognized_name

SSLProtocolException: handshake alert: unrecognized_name

javax.net.ssl.SSLProtocolException: handshake alert: unrecognized_name

Após a instalação do Java 7u4 (antes utilizava o 6u29) no meu ambiente de desenvolvimento, algumas aplicações começaram a apresentar uma exceção. Essas aplicações estavam rodando no OC4J e funcionavam normalmente antes da atualização. O estranho é que eu não havia alterado nada nas aplicações, apenas atualizado a versão do Java.

O erro ocorria logo após eu logar no sistema único de acesso da empresa em que trabalho. Era exibida a seguinte exceção no console:

javax.net.ssl.SSLProtocolException: handshake alert:  unrecognized_name
	at sun.security.ssl.ClientHandshaker.handshakeAlert(ClientHandshaker.java:1289)
	at sun.security.ssl.SSLSocketImpl.recvAlert(SSLSocketImpl.java:1936)
	at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1059)
	at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1294)
	at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1321)
	at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1305)
	at sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:515)
	at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:185)
	at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1299)
	at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:254)

Pesquisando na Internet, verifiquei que o erro está relacionado com o Java Secure Socket Extension (JSSE), mais especificamente com o Server Name Indication (SNI).

Java Secure Socket Extension (JSSE)

O JSSE é um componente do JDK responsável por tornar as comunicações, entre servidores distintos, seguras. Utiliza os protocolos SSL (Secure Sockets Layer) e TLS (Transport Layer Security), incluindo funcionalidades de criptografia de dados, autenticação de clientes e servidores, integridade, entre outros. Ele é responsável por impedir que destinatários que não sejam os pretendidos acessem os dados indevidamente.

Server Name Indication (SNI)

SNI é uma extensão do TLS, definido na RFC 4366. Ele permite conexões TLS para servidores virtuais, em que vários servidores de nomes de rede diferentes estão hospedados em um único endereço de rede subjacente.

Alguns servidores SSL/TLS não suportam as extensões do SNI, nesse caso deveremos desabilitar essa extensão conforme mostrarei a seguir.

Porque ocorre o erro “unrecognized_name”?

Esse erro ocorre por conta da seguinte regra encontrada na especificação do TLS:

If the server understood the client hello extension but does not recognize the server name, it SHOULD send an "unrecognized_name" alert (which MAY be fatal).

Ou seja, o TLS envia um alerta se os servidores que estão se comunicando não forem reconhecidos entre si. Pelo que eu entendi, a especificação diz que a mensagem PODER SER fatal. Acredito que a partir da versão 7 do Java ele entrou nesse “parênteses”. 🙂

Resolvendo o problema

Existem três formas de solucionar esse problema:

  • Desabilitando a extensão SNI;
  • Utilizando apenas SSL3;
  • Configurando o servidor-cliente para reconhecer o servidor ao qual ele deseja se comunicar.

Como estou utilizando minha máquina apenas para ambiente de desenvolvimento, optei pela primeira opção, desabilitando a extensão SNI através do parâmetro jsse.enableSNIExtension setado para false. Como utilizo o Eclipse, abri a aba Servers, cliquei duas vezes na cofiguração do meu servidor e depois em Open launch configuration. Na aba Arguments, em VM arguments, basta informar o código -Djsse.enableSNIExtension=false, conforme imagem abaixo:

unrecognized_name - jsse.enableSNIExtension

Se você souber alguma outra forma de resolver o problema de handshake alert: unrecognized_name, comente abaixo.

Boa sorte.

11 Replies to “SSLProtocolException: handshake alert: unrecognized_name”

  1. In terms of gender, a 2014 study revealed in the Journal
    of Addiction found that whereas males are significantly more doubtless to use anabolic steroids, ladies usually
    are not immune. The examine estimated that approximately 2.9% of men and
    zero.5% of girls have used these substances in some unspecified time in the future in their lives.
    Steroids might lead to muscle growth with out train, however the most significant muscle growth happens when steroids are combined with bodily training.
    Testosterone ranges are only one aspect of your total health.
    A balanced way of life that includes a nutritious food regimen, common exercise, and efficient
    stress management is essential in complementing the consequences of testosterone.
    Testosterone, a hormone predominately present in men but additionally current in girls,
    plays a pivotal function in your general well being and well-being.

    Testo-Max is a natural, authorized, and safe alternative that provides you
    all the advantages of Sustanon with out the unwanted effects.
    Testo-Max is an alternative to the favored injectable anabolic steroid Sustanon, which has varied dangerous side effects.
    If you’re critical about constructing muscle, Testo-Max is a must-try.
    In fourth place on my listing of the most effective legal steroids is Testo-Max.

    The only drugs that may lessen the skeletal muscle weak spot and injury introduced on by Duchenne are steroids, which
    are at present obtainable to all sufferers.

    Prednisone (prednisolone) and deflazacort (also often identified as
    Emflaza, Calcort, etc.) are the types of steroids that are both
    really helpful for Duchenne. A curved backbone (scoliosis) is less likely as a result of steroids, which may additionally benefit your
    coronary heart and lungs. Healthcare suppliers mainly prescribe anabolic
    steroids women (Arnold) to treat low testosterone (male hypogonadism).

    Anabolic-androgenic steroids (AAS) are synthetic (manufactured) versions
    of the male intercourse hormone testosterone. Coaching extra while utilizing steroids,
    whether or not you’re a novice or a seasoned athlete, isn’t really helpful due to the risk of overexertion and potential well being issues.
    The greatest kind of testosterone for newbies is usually cypionate or enanthate.

    These are cost-effective injectables that don’t have to be injected as often as other types of testosterone, with such injections
    not causing any notable ache.
    It may help cut back extra physique fat and distribute it extra evenly
    throughout the body. It leads to a leaner physique composition and can potentially cut back the
    danger of obesity-related ailments. Nevertheless, it’s essential to approach
    these supplements with a well-informed perspective.
    Understanding the ingredients, potential benefits, and limitations of
    T-Boosters is key to making a call that aligns with your well being
    objectives and desires.
    These side effects embody erectile dysfunction, cardiovascular distress,
    gynecomastia or man boobs (Official Website — Verified ✅), genitourinary disorders,
    and chronic hepatic problems. The problem is
    that Deca Durabolin has many dangerous side effects. To prevent
    libido drop, Anavar is finest stacked with testosterone.
    When you use Anavar in accordance with the recommended dosage for men and women, the danger for critical unwanted side effects
    becomes decrease.
    General steroids, called corticosteroids, are medications that reduce irritation and the activity of your immune system.
    They’re manufactured medicine that carefully resemble cortisol, a hormone that your adrenal glands
    produce naturally. Nevertheless, as a outcome of methyltrienolone’s excessive
    toxicity, even in modest dosages, bodybuilders rarely use it and prefer injectable trenbolone as
    a substitute. Our patients’ liver function exams and blood
    strain readings indicate methyltrienolone to be unsafe.
    Anecdotally, we additionally see it trigger disturbances to the central nervous system, thus negatively influencing temper and well-being, corresponding to recreational medication similar to amphetamine or cocaine.

    Moreover, it may find yourself in hormonal imbalances, which might trigger depression or temper swings.
    With all that being mentioned, steroids do provide some benefits
    to men and women who need to build muscle. This profit isn’t just
    in muscle building; it’s for muscle restoration as nicely.
    The downside is, the side effects and overuse of steroids
    outweigh the advantages, which is why steroid use is in opposition to the law.
    One of the principle advantages of utilizing steroids is the power to recuperate extra shortly
    between workouts. Usually, after a difficult exercise, muscle tissue require time to restore and develop.

    Now, on the threat of stating the blatantly obvious, not everyone has the identical
    degree of pure sporting capability. In different words, the researchers found that crucial features of muscle had been permanently modified even after several years of anabolic steroid
    withdrawal and a scarcity of strength coaching. Many years after drug use has stopped, these changes supply
    a bonus for power performance and muscle progress. However, testosterone injections also led to a rise in muscle mass in members who didn’t train.
    Nonetheless, there seems to be no benefit for these with
    degenerative muscle illnesses. Proper now there is not any medical rationalization for this profit,
    nevertheless it exists. Usually their usage goes far beyond that,
    which can be harmful. Over 3 weeks, one group of individuals took the supplement before train, whereas the opposite group took a placebo.
    Those taking the supplement confirmed a big enchancment of their decrease body muscular
    endurance. They also reported increased vitality ranges and reduced
    fatigue. It can additionally be among the many greatest steroids for bulking,
    large energy constructing, improved endurance, joint pain reduction, and quick restoration.

  2. Unlike anabolic steroids that immediately mimic hormone results,
    ashwagandha promotes balance within the physique and notably boosts
    testosterone ranges and muscle strength by
    way of its pure compounds. Corticosteroids like prednisone, cortisone, and hydrocortisone are integral
    in treating inflammatory conditions. A careful tapering
    schedule, established by a healthcare provider, permits the adrenal glands to renew normal cortisol production whereas helping to manage and reduce irritation. Overall,
    quite so much of drugs and approaches exist to supply effective remedy whereas minimizing dependency on corticosteroids like
    prednisone.
    To improve exercise performance, beet supplements are a really effective and
    very secure way to accomplish that objective. If strength
    gains are your priority, BCAAs or even an uneventful whey protein complement can enhance muscle synthesis and scale
    back muscle harm, main to higher workout outcomes. One of the benefits of natural steroid
    options is that they do not seem to hold the same aspect impact profile
    as precise steroids. Still, since these compounds do alter
    your hormone chemistry, there is a risk of unwanted facet effects
    with some pure steroid alternatives.
    Methylprednisolone can additionally be obtainable within the convenient prepackaged tapered dose Medrol DosePak.
    Apart From that convenience, methylprednisolone could have
    much less probability to cause fluid retention and elevations
    in blood strain, because it has less mineralocorticoid results compared to prednisone.
    Authorized steroids can be found for buy over-the-counter and will embrace pure elements like ecdysterone, creatine, betaine, and saponins.

    Cortisone injections are a regular treatment option for osteoarthritis and other joint-related ache.
    Cortisone remedies do help to scale back pain and inflammation considerably but just for a few
    months. Pure anti-inflammatory dietary supplements
    may help the body fight pain and irritation. They could even help prevent a
    few of the long term complications of chronic irritation, such as most cancers.
    Chovatiya famous that patients often over-rely on topical steroids, and it is essential to guide sufferers early
    towards non-steroidal choices designed for sustained use.
    Older males will find that stanzanol steroid
    alternatives are an effective way to regain bodily vitality, improve sexual performance,
    and fend off doubtlessly catastrophic accidents. Athletes, bodybuilders, and anyone in search
    of a higher degree of bodily health will find steroid options answer the call.

    The useless inventory that some dog-food makers add could also be riddled with dangerous micro organism.
    You may notice a major difference simply by switching to a high-quality or organic
    meals. Review your vaccine protocol with your veterinarian to
    see if you can eliminate any. Spacing individual vaccinations might cut back stress to
    your canine’s system and allow you and your vet
    to find out whether the canine is having a unfavorable reaction to a minimum of one particular vaccine.

    Whereas usually thought of safe, it’s always essential to consult with a healthcare skilled
    earlier than beginning any new complement regimen. Nevertheless, it’s essential to do
    not neglect that these dietary supplements are only one piece of the puzzle.
    A balanced food regimen, common train, and adequate relaxation are additionally essential for reaching your fitness goals.

    They’re produced from natural ingredients, which implies they’re safer
    and fewer more probably to trigger unwanted unwanted aspect effects.
    These dietary supplements purpose to supply related advantages with out unwanted
    effects.
    D-Bal is a legal steroid alternative to Dianabol, which is a well-liked anabolic steroid.
    It contains natural ingredients similar to whey protein and creatine,
    which can help improve muscle mass and strength.
    According to a study published within the Journal of the International Society of Sports Nutrition, creatine supplementation can result in significant enhancements in power and
    muscle mass. We have discussed a few of the greatest Trenbolone alternatives, together with natural
    dietary supplements and legal steroid options like
    CrazyBulk Trenorol.
    As a end result, joint infections can be onerous to treat
    and may require lengthy programs of antibiotics or additional surgical procedures.

    Arthritis is a typical condition that affects practically 1
    / 4 of Americans. It may cause debilitating ache, making
    it exhausting for people to work or get pleasure from on a daily basis activities like exercising,
    cooking, and socializing. Researchers project the variety of people with arthritis to rise considerably within the
    coming many years. When they work, nevertheless, they may scale back
    the need to take prescription or OTC medications.
    Boswellia serrata resin, or frankincense, might ease
    each inflammation and pain.

  3. They have restricted medical makes use of and usually What Are Steroids
    Classified As, http://Www.Viladeroses.Cat, not the same as corticosteroids, a different
    sort of steroid drug that is more generally prescribed.

    This is a problem frequent to athletes who use steroids for various purposes.
    Many girls are likely to go for different kinds
    of medical solutions when confronted with breast swelling, and a few might even assume it’s a sign of most cancers.
    However if you’re an avid steroid user, your healthcare skilled who advised the steroid is the go-to
    person for any such modifications in your physique.
    When used constantly with regular train and a nutritious diet, these authorized steroids
    present efficient bennefits that result in impressive results.

    We provide a variety of anabolic steroids and supplements to cater to various needs, whether or
    not you need to enhance your well being or enhance your sports efficiency.
    Our product portfolio consists of injectable and oral steroids, HGH, and extra from trusted
    brands like Pharmaqo Labs, Adelphi Research Laboratories,
    Bioteq Labs, and Balkan Prescribed Drugs. Police forces and border
    officials are seeing a rise in the number of underground laboratories “cooking” steroids within the UK
    and consignments of drugs being imported to the UK from
    countries where IPEDs may be purchased over-the-counter. The rise of social
    media has made it easier to swap each info and products.

    Understanding tips on how to tackle the issue of increasing anabolic androgenic
    steroid use is extraordinarily difficult. There are many complex
    psychological and social routes to anabolic androgenic steroids use, lots of which aren’t absolutely understood.
    There have been no research to proof successful interventions in relation to anabolic
    steroids. Currently, there aren’t any formal academic evaluations of
    hurt reduction, therapy, or prevention interventions within the Uk or elsewhere
    (Petrόczi, Dodge, Backhouse, & Adesanwo, 2014).

    Zak has since given up bodybuilding and will probably have medical issues for
    the relaxation of his life. He at present has two meetings every week from a home treatment care team, and has
    to take anxiousness, sleeping, and epilepsy tablets, in addition to attending
    appointments for frequent brain scans and blood checks.

    Wilkinson adhered to an intense food regimen regime that noticed him consuming six meals daily, that includes a
    restricted menu of broccoli, hen, rice, egg whites, and steak.
    He’d also spend at least forty five minutes doing cardiovascular exercise on the fitness center every day.

    The particular anabolic androgenic steroid in widespread
    circulation are unknown but depend on user stories.
    Steroids are usually utilised at steadily growing doses, in the belief that in the end a lot
    larger doses might be tolerated. “Pyramiding” regimes are a steady sequence of increasing and lowering doses; 27%
    of U.K.
    The commonest age to start is between 20 and 24, however customers vary from 13 to mid-70s.
    Discussion of all issues associated to the protected usage of Steroids, TRT or hormone optimisation within the UK.

    Under UK law, AAS are managed Class C medication underneath the Misuse of Medication Act 1971.

    The raised body mass index and high‐protein diets of many anabolic androgenic steroid users enhance susceptibility to
    nephrotoxicity (Harrington, Ali, & Chan, 2011). At least one case is reported within the
    literature the place kidney injury was so
    extreme that transplantation was required (Harrington et al., 2011).
    Users incorporate, typically numerous, substances into
    their regimes to forestall or self‐treat quite lots of unwanted side effects (Ip et al., 2011; Ip et al., 2014; Sagoe et al.,
    2015). They may utilise other performance enhancing medicine to better outline and improve the aesthetic appearance of the musculature achieved by
    anabolic androgenic steroid (Sagoe et al., 2015). AAS users declare use of life‐threatening 2,4‐dinitrophenol (Bates & McVeigh,
    2016; Chandler & Mcveigh, 2013). Use is encouraged through contact
    with other users (Hildebrandt et al., 2012) who
    can vouch for the outcome.
    Some legal steroids even have fat-burning properties that assist to
    improve physique composition and scale back physique fat. Best
    of all, authorized steroids are completely safe and natural,
    with not one of the same negative side effects of anabolic steroids.

    The use of anabolic steroids and different performance-enhancing medication (PED) is not the preserve of
    bodybuilders and skilled athletes. Males in the UK are increasingly turning to these managed substances to help them construct muscle, burn body
    fats and improve athletic performance quicker.
    Some legal steroids, corresponding to Clenbutrol, work
    by increasing your metabolic rate for you
    to lose fats and burn water retention. This complement will increase purple blood cell production and promotes more healthy
    cardiovascular fitness.

  4. Low testosterone ranges can cause testicular atrophy as a end result of
    decreased sperm production. Our patients sometimes comment
    that Dianabol reduces their appetite, which is as a outcome of pressure on the liver.
    Each time you eat food, the liver has to digest it; thus, when taking hepatotoxic
    steroids and eating massive quantities of food, the liver is changing into increasingly taxed.
    The body’s means of coping with that is to
    suppress the person’s urge for food (as a self-defense
    mechanism), decreasing food consumption. This is why we make
    the most of Nolvadex (tamoxifen), which reduces estrogen ranges whereas simultaneously having a optimistic effect on cholesterol levels (15).

    Its anabolic properties make it engaging for these trying to bulk up rapidly.
    Nonetheless, this steroid works by enhancing protein synthesis, leading to
    important muscle progress while also introducing undesirable unwanted facet effects.
    One of the necessary thing sights of Dianabol is the fast
    results it delivers.
    In these cases, Dbol may be unknowingly used, and
    it’ll present women with a VERY different expertise from Anavar.

    With one thing as highly effective as Dianabol, there’ll
    at all times be negative comments and experiences guys are talking about.
    However these won’t necessarily stop someone from using Dbol
    – we all know what to expect, and you roll with it.
    Even a rise of 5mg every day can take your unwanted effects to
    some extent where to purchase anabolic steroids
    fluentcpp.com – it turns into
    difficult to mitigate. We saw this old-school combination improve anabolism, with Proviron working
    as a synergistic agent (increasing Dianabol’s effects).
    Dianabol may also kick in quicker than some testosterone esters (such as cypionate
    and enanthate), which have considerably longer half-lives.
    Thus, we find Dianabol produces higher results in the early levels of
    a cycle.
    Expired Dianabol shouldn’t be used as it might have degraded and may doubtlessly cause hurt.
    Some individuals may expertise sleep disturbances while using Dianabol,
    together with insomnia or disrupted sleep patterns.
    Establishing a consistent sleep routine, creating a sleep-friendly surroundings, and avoiding stimulants might help alleviate this side impact.

    If you start to expertise any of these unwanted aspect effects, it’s
    essential to talk to your physician immediately. They might help you determine whether or not the drug is causing the problem and what you can do about it.

    People used to use Dianabol in their cycle to extend the body’s
    capacity to shortly develop lean mass and strength instead of executing
    a bodybuilding cycle that leads to little to no gain. Users might not want to endure hepatotoxicity from Dianabol for eight or 12 weeks.
    Dianabol can additionally be used with other steroids,
    such as Tren, to supply extra pronounced and advanced outcomes.

    Dianabol is usually favored during bulking cycles when the primary goal is to maximize muscle mass and
    energy positive aspects. It is an optimal choice
    for individuals looking to endure vital body transformation and increase overall measurement.
    On the opposite hand, Anavar is usually used throughout slicing cycles to
    protect muscle mass while selling a lean and defined physique.
    If your aim is to realize a extra toned and shredded appearance without substantial
    muscle mass gains, Anavar may be the better possibility.

    Black market pharmaceutical Deca-Durabolin exists, but you need to ensure you’re not buying counterfeit
    products that can be of inferior quality. People have been utilizing Deca-Max for years, with astonishing
    results rivaling Nandrolone. Deca-Max supplies the most
    ideal, protected, and LEGAL alternative to Nandrolone, and
    you won’t be losing any time or money on combating
    nasty unwanted side effects. PCT should begin two weeks after the end of the cycle, and Clomid ought to be used for three weeks
    at 50mg every day or up to 100mg daily in case your cycle is heavier.

    Not solely these steroids will assist your muscle strength and gain, but may even improve your stamina
    and endurance. Your muscle features with Deca-Durabolin can include
    some fluid retention, but it should not be as severe as you
    get with another steroids. Deca-Durabolin is a slow-acting steroid, so positive aspects won’t come on shortly.

Deixe uma resposta para how to buy generic cytotec without rx Cancelar resposta

O seu endereço de e-mail não será publicado.